wlmfit: Fits a wavelet linear model

Description Usage Arguments Details Value Note Author(s) References

View source: R/wlmfit.R

Description

Stripped down internal function for doing the fitting

Usage

1
wlmfit(wts, norm)

Arguments

wts

List of normalized transforms, normalized as specified in norm. Each entry a locations x time x timescales array of transforms. The first is the response variable, others are the predictors.

norm

The normalization that was used. One of "none", "powall", "powind". See details.

Details

Only norm="powall" works now, other options throw an error.

Value

wlmfit returns a list with these elements:

coefs

Model coefficients

modval

The right had side of the model

coher

Appropriately normalized coherence of the model and response variable

Note

Internal function, no error checking done.

Author(s)

Thomas Anderson, anderstl@gmail.com, Jon Walter, jaw3es@virginia.edu; Lawrence Sheppard, lwsheppard@ku.edu; Daniel Reuman, reuman@ku.edu

References

Sheppard, LW et al. (2019) Synchrony is more than its top-down and climatic parts: interacting Moran effects on phytoplankton in British seas. Plos Computational Biology 15, e1006744. doi: 10.1371/journal.pcbi.1006744


wsyn documentation built on June 19, 2021, 1:07 a.m.