read_losc: read_losc

View source: R/read_losc.R

read_loscR Documentation

read_losc

Description

read_losc reads GraCo oscillation files

Usage

read_losc(filename = NULL, header = FALSE)

Arguments

filename

String, scalar. Input LOSC oscillation file

header

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

Details

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

Value

A column-named dataframe containing the following data n: the mode radial node l: the mode degree sig: oscillation frequency in Hz

See Also

read_adipls, read_graco, and read_gyre

Examples

myfreqs <- read_losc('/myhome/loscfile.dat')

## Not run: 
  read_losc('/myhome/loscfile.dat')

## End(Not run)

juancasy/tostada documentation built on March 13, 2024, 10:57 p.m.