Description Usage Arguments Value
make_extval takes a data frame and splits it into a data set
for model tuning and training as well as another data set for
external validation of the model.
1 | make_extval(df, p = 0.15, seed = as.integer(Sys.time()))
|
df |
The data frame to split |
p |
The proportion of data in the split. Default is |
seed |
The random seed for the data. The default is the
current time as an integer, i.e., |
A list where the entry trn is the retained data and
the entry extval is set aside for external validation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.