Internal function of TWIX.
fullrks(m)
m
fullrks(c(3,1,2,4,5)) a <- as.factor(c("yes","yes","no","no")) fullrks(a)