time_cv: Time-aware rolling resampling.

View source: R/cv.R

time_cvR Documentation

Time-aware rolling resampling.

Description

Time-aware rolling resampling.

Usage

time_cv(
  initial,
  assess = 1,
  time = NULL,
  skip = 0,
  cumulative = TRUE,
  seed = NULL
)

Arguments

initial

Initial training window size.

assess

Assessment window size.

time

Ordering variable name or vector.

skip

Number of observations to skip between splits.

cumulative

Logical; use an expanding training window.

seed

Optional seed.

Value

A funcml_cv object.

Examples

time_cv(initial = 8, assess = 2, skip = 1)

funcml documentation built on Aug. 22, 2026, 5:08 p.m.