split_data {tidyhte}R Documentation

Partition the data into folds

Description

This takes a dataset and a split ID and generates two subsets of the data corresponding to a training set and a holdout.

Usage

split_data(data, split_id)

Arguments

data

dataframe

split_id

integer representing the split to construct

Value

Returns an R6 object HTEFold with three public fields:


[Package tidyhte version 1.0.2 Index]