fx_partition | R Documentation |
List of partitions to apply to data frame for CV
fx_partition(df0, type = NULL, nresample = NULL, balance.col = NULL)
df0 |
data frame including all observations |
type |
cross-validation type |
balance.col |
??? |
nresaple |
??? |
list of same length as subsamples of train/test partitions. Each list element contains "test", "train" and "sample.type" variables:
"test": is numeric list, values correspond to rows in df0 assigned to model "test" group
"train": is numeric list, values correspond to rows in df0 assigned to model "train" group
"sample.type": description of cross-validation method (e.g., 5-fold)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.