Re: [R] Help with simple bootstrap test

2010-02-26 Thread Harry Palmer
Thanks that's exactly what I wanted - and yes resampling of the rows with replacement was what I should have said. Now i'm stuck on how to do a bootstrap of the data in each column of the table separately, but all done in the same go. -- View this message in context:

Re: [R] Help with simple bootstrap test

2010-02-25 Thread Robert A LaBudde
The boot() function in the 'boot' package expects to find a function for the statistic with two arguments: The data object plus a row index object. You don't indicate enough to see how you will be resampling. It you sum all elements in your table, resampling would have to be one of: 1. A

[R] Help with simple bootstrap test

2010-02-25 Thread xonix
Hi all Forgive me, I'm a total R newbie, and this seems to be a straightforward simple bootstrap problem, but after a whole day of trying to figure out how to do it I'm ready to give up. Part of the problem is that every example and every help page seems to be about doing something more far more