| sampleCat {VIM} | R Documentation |
The function sampleCat samples with probabilites corresponding to the occurrence of the level in the NNs.
sampleCat(x, weights = NULL)
x |
factor vector |
weights |
numeric vector providing weights for the observations in x |