powered by
The function medianSamp chooses the level as the median or randomly between two levels.
medianSamp(x, weights = NULL)
ordered factor vector
numeric vector providing weights for the observations in x
Other imputation methods: hotdeck(), impPCA(), irmi(), kNN(), matchImpute(), rangerImpute(), regressionImp(), sampleCat()
hotdeck()
impPCA()
irmi()
kNN()
matchImpute()
rangerImpute()
regressionImp()
sampleCat()