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
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
2 matches
Mail list logo