predict.StratifiedXValS3: Obtain a cross validation fold from data based on an...

Description Usage Arguments Value Examples

View source: R/predict.StratifiedXValS3.R

Description

Returns a list of Training and Testing data based on folds which have been previously computed by stratifySample().

Usage

1
2
## S3 method for class 'StratifiedXValS3'
predict(obj, fold, data)

Arguments

obj

An object of type StratifiedXValS3.

fold

The index of the fold you which to retrieve.

data

The original data that the folds were computed on.

Value

A list containing two dataframes, Train and Test.

Examples

1

JL-Woodcock/stRatify documentation built on Nov. 5, 2019, 2:17 p.m.