Re: [R] convert count data to binary data

2011-05-06 Thread Marc Schwartz
On May 6, 2011, at 3:15 PM, Christopher G Oakley wrote: > Is there a way to generate a new dataframe that produces x lines based on the > contents of a column? > > for example: I would like to generate a new dataframe with 70 lines of > data[1, 1:3], 67 lines of data[2, 1:3], 75lines of data[3,

[R] convert count data to binary data

2011-05-06 Thread Christopher G Oakley
Is there a way to generate a new dataframe that produces x lines based on the contents of a column? for example: I would like to generate a new dataframe with 70 lines of data[1, 1:3], 67 lines of data[2, 1:3], 75lines of data[3,1:3] and so on up to numrow = sum(count). > data pop fam yesorno