powered by
Convert continuous data to discretized data
disc(var, n, method = "quantile", ManualItv)
A numeric vector
A number
A character
# NOT RUN { disc(rnorm(100,0,2), 6, method = "quantile") disc(c(1:10,15:20,5:30,10:25), 5, method = "natural") data(Roaddamage) disc(Roaddamage$population, 6, method = "quantile") # }
Run the code above in your browser using DataLab