band_analysis: Frequency band analysis

View source: R/band_analysis.r

band_analysisR Documentation

Frequency band analysis

Description

Internal function used to estimate area under power spectrum at particular frequency bands

Usage

band_analysis(df, freq.bands, log_transform = c(TRUE, FALSE))

Arguments

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

Author(s)

Jessica Graves


JessLGraves/RAR documentation built on April 5, 2025, 3:42 p.m.