Stripped down internal function for doing the fitting
wlmfit(wts, norm)
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.
The normalization that was used. One of "none", "powall", "powind". See details.
wlmfit
returns a list with these elements:
Model coefficients
The right had side of the model
Appropriately normalized coherence of the model and response variable
Only norm="powall"
works now, other options throw an error.
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