regionalCV: Cross-validated model fits

View source: R/regionalCV.r

regionalCVR Documentation

Cross-validated model fits

Description

Cross-validated fits of various fable models. Will take advantage of plan() if called outside of function.

Usage

regionalCV(data, cv_dist = 8, init = 36, step = 3)

Arguments

data

A dataframe with time as 'datename' and quantity as 'n'.

cv_dist

The number of months that should be cross-validated.

init

The number of months that cross-validations should start from.

step

The number of months between each cross-validation step.

Value

Dataframe of model fits

Examples

## Not run: regionalCV(data)


w-hardy/serCymruTools documentation built on April 28, 2022, 6:49 p.m.