Skip to contents

read_graco reads GraCo oscillation files

Usage

read_graco(filename = NULL, header = FALSE)

Arguments

filename

String, scalar. Input GraCo oscillation file

header

Logic. If TRUE then header of file is read (default F)

Value

A column-named dataframe containing the following data l: the mode degree n: the mode radial node w2: squared oscillation frequency normalized to GMR sig: oscillation frequency in microHz P: oscillation period in days Q: oscillation constant NP: number of nodes as P mode NG: number of nodes as G mode

Details

This function takes one argument, the GraCo file (.dat) to be read with full path. It stores the result in an R dataframe.

Examples

myfreqs <- read_graco('/myhome/gracofile.dat')
#> Warning: cannot open file '/myhome/gracofile.dat': No such file or directory
#> Error in file(file, "rt"): cannot open the connection

if (FALSE) {
  read_graco('/myhome/gracofile.dat')
}