Re: [R] Extracting random rows from a dataset

2009-01-18 Thread S.Putoto
V1 V2 > 1 p1 10 > 3 p1 4 > 9 p1 2 > > The terms to pay particular attention to in the introductory material > are row indexing, dataframe, and negative indexing of dataframes. > > > > On Jan 18, 2009, at 12:35 PM, S.Putoto wrote: > >> >> Hell

[R] Extracting random rows from a dataset

2009-01-18 Thread S.Putoto
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 thin