Hi Paul,
I struggled with the boot package too, and I found this help link very
useful:
http://www.mayin.org/ajayshah/KB/R/documents/boot.html
"Getting started with the "boot" package in R for bootstrap
inference".
I hope you'll find what you need there !
The second argument for the bootstrap test just tells R on what you want
to bootstrap on. Just try the examples in this tutorial...
Camille
pgseye a ?crit :> Hi,
>
> I'm wanting to test for a difference in medians between 2 groups using
> resampling methods. I found the boot package, but don't really
understand
> how to write the 'statistic' function required as the 2nd argument
for the
> bootstrap test.
>
> Thanks if you can help,
>
> Paul
>