Skip to content

How indices calculated in package "boot"

2 messages · Deng Nina, Greg Snow

1 day later
#
In your second example the boot function will still generate its
random indicies before your internal function calls sample, so the
seed will be different when you call sample from what you originally
set it to.  If you really want to know what the boot function does,
look at its code (it does some things to try and be more efficient
which might give different results than a simpler version).
On Wed, Feb 8, 2012 at 1:45 PM, Deng Nina <nndeng at gmail.com> wrote: