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).
Value
It returns a vector with c(n_maxmin, n_minmax)
Details
This function takes one argument, a dataframe with the synthetic oscillation
spectra read from read_graco, read_adipls, read_gyre, or read_losc.
Examples
range <- n_nrange(df_oscillations)
#> Error in n_nrange(df_oscillations): could not find function "n_nrange"
if (FALSE) {
n_range(df_olscillations)
}