Re: [R] next step in randomly sampling

2010-09-28 Thread Jonathan Christensen
Mike, Try growth[sample(1:length(growth)),] to permute the rows. Jonathan On Tue, Sep 28, 2010 at 8:38 PM, Michael Larkin wrote: > Thanks to the people on this list I was able to fix my code for randomly > sampling. Thanks. > > > > Now, I am moving on to the next step and I ran into another

[R] next step in randomly sampling

2010-09-28 Thread Michael Larkin
Thanks to the people on this list I was able to fix my code for randomly sampling. Thanks. Now, I am moving on to the next step and I ran into another snag. I have a large dataset but I am starting with a small made-up dataset until I figure it out. I have two columns of data (age and leng