spectrum_est: Spectrum estimation

View source: R/spectrum_est.r

spectrum_estR Documentation

Spectrum estimation

Description

Internal function used to estimate the power spectrum of residuals estimated from the RAR().

Usage

spectrum_est(df, method = c("pss", "whittle"), log_transform = c(TRUE,
  FALSE), ...)

Arguments

df

dataframe containing residuals from extended cosine model from RAR() and date and time.

method

specifies if smooth or penalized spline should be used. Default is smooth.

log_transform

specifies if log power spectrum should be calculated. TRUE is default

...

additional parameters from astsa::mvspec() or gss::gssanova()

Author(s)

Jessica Graves


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