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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to