powered by
setWeights
setWeights(this, weights)
mtkLevels
# Create a mtkLevels object l <- mtkLevels(type='categorical', levels=c(1,2,3,4)) setWeights(l, weights=rep(0.25,4))
Run the code above in your browser using DataLab