Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.33.0304050900010.8713-100000@stat56.stat.auckland.ac.nz>
Date: 2003-04-04T21:01:13Z
From: Ko-Kang Kevin Wang
Subject: Sampling from a Data Frame

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)