View source: R/band_analysis.r
band_analysis | R Documentation |
Internal function used to estimate area under power spectrum at particular frequency bands
band_analysis(df, freq.bands, log_transform = c(TRUE, FALSE))
df |
dataframe of predicted smoothed power spectrum estimated from spectrum_est() |
freq.bands |
matrix specifying lower and upper bound of frequency band (e.g. (t(c(0, 2/24)), or rbind(c(0,2/24), c(2/24,25), c(25, 60))). Bounds must be between 0 and 60) |
log_transform |
specifies if log power spectrum should be calculated. TRUE is default |
Jessica Graves
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.