n_maxmin: n_maxmin

View source: R/n_maxmin.R

n_maxminR Documentation

n_maxmin

Description

n_maxmin determines the largest radial order (n) among all the min(n, L)

Usage

n_maxmin(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 single numeric value

Examples

n_min <- n_maxmin(df_oscillations)

## Not run: 
  n_maxmin(df_olscillations)

## End(Not run)

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