Re: [R] sampling and testing

2008-11-12 Thread Peter Alspach
L PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Grant Humphries > Sent: Thursday, 13 November 2008 8:57 a.m. > To: r-help@r-project.org > Subject: [R] sampling and testing > > Hello everyone, > > I have a dataset in th

[R] sampling and testing

2008-11-12 Thread Grant Humphries
Hello everyone, I have a dataset in the following format: col1 col2 # # # # # # # # # # # # What I want to do is: loop a random sample 10 times, and for each time it is sampled I want to run a correlation between both columns. What I have so far is this: >feb <- read.