factor.foldid | R Documentation |
Generate foldid's by factor levels
factor.foldid(event, fold_n = 10)
event |
the outcome variable in a vector identifying the different potential levels of the outcome |
fold_n |
the numbe of folds to be constructed |
foldid's in a vector the same length as event
get.foldid
, nested.glmnetr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.