| medianSamp {VIM} | R Documentation |
The function medianSamp chooses the level as the median or randomly between two levels.
medianSamp(x, weights = NULL)
x |
ordered factor vector |
weights |
numeric vector providing weights for the observations in x |