[R] Sampling from a Data Frame
Ko-Kang Kevin Wang
kwan022 at stat.auckland.ac.nz
Fri Apr 4 23:01:13 CEST 2003
Hi,
I've been looking through the documentation for sample(), but can only get
it to work with vectors. Is it possible to sample from a dataframe?
--
Cheers,
Kevin
------------------------------------------------------------------------------
/* Time is the greatest teacher, unfortunately it kills its students */
--
Ko-Kang Kevin Wang
Master of Science (MSc) Student
SLC Tutor and Lab Demonstrator
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022
Ph: 373-7599
x88475 (City)
x88480 (Tamaki)
More information about the R-help
mailing list