[R] resampling

Rita Gamito rslopes at fc.ul.pt
Wed Jul 31 13:23:38 CEST 2013


Could anyone tell me how,from a pool of 1002 observations (one variable),  can I resample 1000 samples of 20 observations?
And then calculate the mean and standard deviation between 2, 3, 4, ..., 1000 samples and plot them?
Thank you!

_____________________________________

Rita Gamito
Centro de Oceanografia
Faculdade de Ciências, Universidade de Lisboa
Campo Grande, 1749-016 Lisboa, Portugal
e-mail: rgamito at fc.ul.pt
Tel: + 351 21 750 00 00 - ext. 22575
Fax: + 351 21 750 02 07
www.co.fc.ul.pt


More information about the R-help mailing list