View source: R/ranger_crossRF_util.R
generate.comps_datalist | R Documentation |
To generate sub-datasets and sub-metadata by pairing one level and each of other levels of the specified category in the metadata.
generate.comps_datalist(df, f, comp_group)
df |
Training data: a data.frame. |
f |
A factor in the metadata with at least two levels (groups). |
comp_group |
A string indicates the group in the f |
A object of list with elements: a list of data.frame and a list of factor
Shi Huang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.