On 6/19/2009 10:59 AM, Seunghee Baek wrote:> Hi,
> For bootstrapping method, I would like to resample the entire row instead
of one column.
> What should I do?
iris[sample(x=nrow(iris), replace=TRUE),]
But I would look at the boot package or other packages related to
bootstrapping.
> Thanks,
> Becky
>
> ______________________________________________
> R-help at 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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894