mple(1:dim(my.df)[1], size=number.of.records,
replace=F),]
my.df.subset
You can change "replace" by T if you allow repeat rows.
Cheers,
miltinho astronauta
brazil
On 7/23/08, *Jarekj* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
Hi
I'm looki
Hi
I'm looking for solution or function which I can use to sample data
frame, to obtain new (smaller) data frame similar to sample() function
Jarek Jasiewicz
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do r
2 matches
Mail list logo