Skip to contents

Make an unconditional split dataset

Make a conditional split dataset

Make a split dataset

Usage

make_unconditional_splits(data, niter = NULL)

make_conditional_splits(cdvar = NULL, data, loop = FALSE)

make_splits(cdvar = NULL, data, cdloop = FALSE, niter = NULL)

Arguments

data

A data.table, data.frame, matrix, or list containing the cognitive measure data

niter

Number of iterations to conduct for an unconditional split routine

cdvar

Character string naming auxiliary variable by which to condition splits

loop

Boolean declaring whether to use a for loop. The default FALSE will generate splits and operate on an expanded data.table in-memory. If your machine has limited memory, set this argument to TRUE in order to process splits sequentially. The default option should be much faster.

cdloop

Boolean passed to loop argument of make_conditional_splits(). Ignored when conducting unconditional splits.