[R] Sampling
Alex99
loyola9988 at yahoo.com
Fri Oct 10 20:38:32 CEST 2008
Hi Guys,
I am in desperate need with sampling. I am suppose to sample from a dataset.
I use the following code:
> for(i in 1:5){temp[i]<-sample(T2,40,replace=F)
+ show(temp)}
but all the samples are the same, but I want them to be different.any
suggestion?
Thanks
--
View this message in context: http://www.nabble.com/Sampling-tp19923768p19923768.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list