pred_ma | R Documentation |
Creates a series of one-step ahead predictions for all years beyond the 5th year in the time series using a log scale moving average of the time series to be used in evaluating model performance in past seasons.
pred_ma(var, yrs = 5)
var |
a log transformed time series. |
yrs |
years in the moving average. NULL to average the entire series. |
a matrix with columns "mean" and "median" providing predictions on the natural scale.
dat6 <- prep_brood(deshka, 4:6)
pred_ma(dat6$age6_ln)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.