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
Hi,there,
I am using R package boot to bootstrap. I have one question here: does
anybody possibly know how the boot package generates the indices which is
used in the statistic function?
I thought indices = sample(data, replace=TRUE), but when I replaced
indices with this command and used boot,
2 matches
Mail list logo