Apply POMS-coding to data
Takes in a data.frame, and applies POMS (proportion of of maximum)-coding to the numeric columns.
poms(data)
data
: A data.frame.A data.frame.
data <- data.frame(a = c(1, 2, 2, 4, 1, 6), b = c(6, 6, 3, 5, 3, 4), c = c("a", "b", "b", "t", "f", "g")) poms(data)
Caspar J. van Lissa