create_cv_folds: Stratified CV to insure balance (by one grouping variable, Y)

View source: R/create_cv_folds.R

create_cv_foldsR Documentation

Stratified CV to insure balance (by one grouping variable, Y)

Description

Stratified CV to insure balance (by one grouping variable, Y)

Usage

create_cv_folds(V, Y, verbose = F)

Arguments

V

number of folds

Y

Outcome variable. If binary will be used for stratification.

verbose

If T will display extra output.

Value

Vector of fold assignments.


ck37/varImpact documentation built on June 26, 2022, 4:02 a.m.