new_swdft_local_cosreg {swdft} | R Documentation |
Constructor function for class 'swdft_local_cosreg'
Description
Constructor function for class 'swdft_local_cosreg'
Usage
new_swdft_local_cosreg(coefficients, fitted, residuals, data,
window_params)
Arguments
coefficients |
matrix of coefficients for cosine regression model |
fitted |
fitted values of cosine regression model |
residuals |
residuals of cosine regression model |
data |
original signal used to fit cosine regression |
window_params |
data frame of fitted coefficients for each window size |
Value
list with the following elements
coefficients. A matrix of parameters, the three columns are: 1. amplitude 2. phase, and 3. frequency. There is only more that one row used when multiple frequencies are fit sequentially.
fitted. fitted values of cosine regression model
residuals. residuals of cosine regression model
data. original signal used to fit cosine regression
window_params. data frame of fitted coefficients for each window size
[Package swdft version 1.0.0 Index]