n_range: n_range

View source: R/n_range.R

n_rangeR Documentation

n_range

Description

n_range determines the common n range for all the L in the oscillation spectrum as n = (n_maxmin, n_minmax)

Usage

n_range(model.df, mono = F)

Arguments

model.df

dataframe

mono

logical option (default FALSE) to calculate minimum n value from which the n vector is monotonic (i.e. diff(n)=1).

Details

This function takes one argument, a dataframe with the synthetic oscillation spectra read from read_graco, read_adipls, read_gyre, or read_losc.

Value

It returns a vector with c(n_maxmin, n_minmax)

See Also

n_maxmin, n_minmax

Examples

range <- n_nrange(df_oscillations)

## Not run: 
  n_range(df_olscillations)

## End(Not run)

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