[R] boot function

Brunschwig, Hadassa {PDMM~Basel} HADASSA.BRUNSCHWIG at Roche.COM
Fri Aug 22 13:49:48 CEST 2003

Hi all,

I skimmed through the archives and couldnt really find an answer to my question. One thing i dont understand of the description of the function boot() is the second variable for statistics. I have a sample of say 19 subjects out of these, using boot(), i would like to generate say 1000 samples. For these 1000 samples ill calculate an nlme() and ill use these 1000 estimators of a variable to make further calculation. Now what i dont understand is where the index should be set. the nlme() looks like this:


My idea was to put the index ( second variable of the statistcs function) in the subject as i want to generate different samples of subjects. I get the error that the vector ind was not found. I would be happy for any help concerning this problem.

Thanks a lot


More information about the R-help mailing list