
Converts continuous variable into factor categories.
categorize.Rd
Converts continuous variable into factor categories.
Examples
x <- rnorm(1000, mean = 10, sd = 5)
xc <- categorize(x, nbins = 5)
categorize.Rd
Converts continuous variable into factor categories.
x <- rnorm(1000, mean = 10, sd = 5)
xc <- categorize(x, nbins = 5)