Hello -

I have a population of 100 individuals that I would like to bootstrap
10 times, every time removing 5 *different* individuals.

So far, I have done the following:

pop <- read.table('mypop.txt', header=FALSE)

replicate(10, sample(pop, 95, replace=FALSE))

I have not actually gone through each of the 10 files created to make
sure no single individual was removed more than once during the 10
bootstraps.  But will the above syntax achieve this object?

Thanks
V

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to