boot.factor.foldid {glmnetr} | R Documentation |
Generate foldid's by 0/1 factor for bootstrap like samples where unique option between 0 and 1
Description
Generate foldid's by 0/1 factor for bootstrap like samples where unique option between 0 and 1
Usage
boot.factor.foldid(event, fraction)
Arguments
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 |
Value
foldid's in a vector the same length as event
See Also
[Package glmnetr version 0.5-2 Index]