[R] How do I use the cut function to assign specific cut points?
citadel
ccabasag at uci.edu
Thu Jan 26 09:23:38 CET 2012
I am new to R, and I am trying to cut a continuous variable BMI into
different categories and can't figure out how to use it. I would like to cut
it into four groups: <20, 20-25, 25-30 and >= 30. I am having difficulty
figuring the code for <20 and >=30? Please help. Thank you.
--
View this message in context: http://r.789695.n4.nabble.com/How-do-I-use-the-cut-function-to-assign-specific-cut-points-tp4329788p4329788.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list