custom_rsplit: Make rsplit object

Description Usage Arguments

View source: R/custom_rsplit.R

Description

This is a function from rsample that is not exported but we need it because we use our own method for the split that takes into account patient id

Usage

1
custom_rsplit(data, in_id, out_id)

Arguments

in_id

vector of integers taken from data_split where the column train equals 1 (to select training set)

out_id

vector of integers taken from data_split where the column train equals 0 (to select testing set)


awconway/eicu_nitro documentation built on Feb. 21, 2022, 4:35 p.m.