[R] How to subset my data and at the same time keep the balance?

Eddie Smith eddieatr at gmail.com
Mon Nov 19 18:16:38 CET 2012


Hi guys,

I have 1000 rows of a dataset. In my analysis, I need 70% of the data,
run my analysis and then use the remaining 30% to test my model.

Could anybody kindly help me on this?

Cheers



More information about the R-help mailing list