slice_test: Slice the test data from the complete data

View source: R/slice_data.R

slice_testR Documentation

Slice the test data from the complete data

Description

slice_test creates the test data from the complete data set main_frame according to split_frame. Same columns as main_frame, but the number of the split is added as integer.

Usage

slice_test(main_frame, split_frame, context)

Arguments

main_frame

A tibble containing the time series data.

split_frame

A tibble containing the splits into train and test. The result of a call to make_split().

context

A named list with the identifiers for seried_id, value_id and index_id.

Value

test_frame is a tibble containing the test data.


ahaeusser/tscv documentation built on July 26, 2023, 3:18 p.m.