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?
Do you want to sample rows from a single dataframe? How about something like this where 10 is the number of rows sampled:
mydata[sample(dim(mydata)[1], 10),]
hope it helps,
Chuck Cleland
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help