Re: [R] Want help on data resampling!

2009-11-18 Thread Tal Galili
Use ?sample With replace On the number of rows, and then use them as indicators for picking rows from the data set. For example: *sample(10, replace=T)* Read more here: http://www.ats.ucla.edu/stat/R/library/bootstrap.htm -- My contact informatio

[R] Want help on data resampling!

2009-11-18 Thread ke fang
Dear all. I have a data matrix that each row containing a specific individual's information including individual observation and properties. I'm trying to use R to create some bootstrap samples with this data matrix. I have tried the boot() function in boot package, but it seems that this fu