Description Usage Arguments Details Value
Function to calculate linear regressions between recruitment and index time series
1 | calcLRs.RbyI(mdfrZR, mdfrI, ylab, vars, nrows = 2, labelByGroup = FALSE)
|
mdfrZR |
- melted dataframe with standardized recruitment time series |
mdfrI |
- melted dataframe with raw index time series |
ylab |
- label for y axis in time series plot of raw time series |
vars |
- subset of index time series to include in linear regresssion analysis |
nrows |
- number of rows for LR plots |
labelByGroup |
- flag to use "group" column to organize linear regression analysis |
none.
list with elements
mdfrZIs - dataframe with z-scores for index time series
lms - list with linear model (lm) results by index
summary - dataframe with summaries of linear model results
plots - list of ggplot2 objects (raw time series, standardized time series, fits to lm's)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.