trainTestPartition: Partition Dataframe into Train/Test Samples
Description
Dataframe used to create training and test datasets using
specified fraction for the training sample.
The data matrix must be comprised of continuous variables
only (no factors).
Usage
trainTestPartition(Xy, trainFrac = 2/3)
Arguments
Xy
Dataframe with column names, last column is the response
variable and others are the regression input variables.
The data matrix must be comprised of continuous variables
only (no factors).