pred_lm | R Documentation |
Creates a series of one-step ahead predictions for all years beyond the 5th year in the time series using the an exponential smoothing model to be used in evaluating model performance in past seasons.
pred_lm(mod)
mod |
a class "lm" object |
a matrix where the first row is the prediction and the second row is the SE of the prediction.
dat6 <- prep_brood(deshka, 4:6)
sib6 <- lm(age6_ln ~ age5_ln, data = dat6)
pred_lm(sib6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.