[R] Sampling

Rolf Turner r.turner at auckland.ac.nz
Fri Oct 10 23:37:53 CEST 2008


On 11/10/2008, at 10:26 AM, Robert W. Baer, Ph.D. wrote:

>
> How about:
>  T2=rnorm(1000)
>   temp=list(NULL)
>   for(i in 1:5){temp[[i]]<-sample(T2,40,replace=F)};show(temp)

Obviously that *works* and may well be (something like) what  
``Alex99'' *should*
have done, but what did he actually *do*?  To get ``all samples the  
same''?

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list