[R] Extracting random rows from a dataset
S.Putoto
rebelshop615 at gmail.com
Sun Jan 18 18:35:57 CET 2009
Hello dear R Users,
I am working on a dataset of 928 Enterprises, of which are observed 12
different characters. I need to randomly sample, without repetition, 70% of
the entreprises, to create a testing set, and let the other 30% of the
enterprises be a validating set (holdout validation, I think that is). How
do I do that? Of course all the characters of each row must remain together.
Also, I am not very familiar with the R-Base language (it is the first time
I use it) so if You could also explain to me what every function and
argument means, it would be great help to then reiterate the procedure.
Thank You very much,
Sebastiano
--
View this message in context: http://www.nabble.com/Extracting-random-rows-from-a-dataset-tp21530539p21530539.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list