train_test_validate: Create a train, test, and validation split of a dataset.

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Create a train, test, and validation split of a dataset.

Usage

1
train_test_validate(y, train.p, test.p)

Arguments

y

Outcome vector.

train.p

Fraction of observations in the training set.

test.p

Fraction of observations in the test set

Value

A list with train, test, and validation indices.


dmolitor/umbrella documentation built on Nov. 10, 2020, 1:25 a.m.