Age 20 30 40 50 41 I would appreciate R code that would group my data into factors e.g 20-30 is 1 factor and so on.
closed as off-topic by kjetil b halvorsen, Michael Chernick, StatsStudent, Siong Thye Goh, whuber♦ Jun 12 at 17:08
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – kjetil b halvorsen, Michael Chernick, StatsStudent, Siong Thye Goh, whuber