Constructors for split objects
Usage
make_splits(x, ...)
# S3 method for default
make_splits(x, ...)
# S3 method for list
make_splits(x, data, class = NULL, ...)
# S3 method for data.frame
make_splits(x, assessment, ...)
Arguments
- x
A list of integers with names "analysis" and "assessment", or a data frame of analysis or training data.
- ...
Further arguments passed to or from other methods (not currently used).
- data
A data frame.
- class
An optional class to give the object.
- assessment
A data frame of assessment or testing data, which can be empty.