cv_split_time_table: Split a time.table for cross validation

Description Usage Arguments

View source: R/time.table.R

Description

Splits a time.table into a number of subsets useful for cross validation.

Usage

1
2
cv_split_time_table(tt, counts = NULL, props = NULL,
  sample.points = FALSE)

Arguments

tt

time.table to split

counts

vector containing number of observation in each subset

props

vector of proportions of the full dataset for each subset

sample.points

whether to sample individual observations rather than time.series as a whole (defaults to time.series as a whole)

Names of the resulting list correspond to names used in the counts or props vector.


rossklin/timetablr documentation built on May 27, 2019, 11:40 p.m.