boot.factor.foldid | R Documentation |
Generate foldid's by 0/1 factor for bootstrap like samples where unique option between 0 and 1
boot.factor.foldid(event, fraction)
event |
the outcome variable in a vector identifying the different potential levels of the outcome |
fraction |
the fraction of the whole sample included in the bootstratp sample |
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.