Skip to content
Prev 197009 / 398500 Next

Sampling procedure

On Oct 15, 2009, at 10:19 AM, Marcio Resende wrote:

            
> Example <- matrix(c(1:783),ncol = 1)
 > Grp1 <- sample(Example, 87, replace=FALSE)
 > Grp2 <- sample(Example[-Grp1], 87, replace=FALSE)
 > Grp3 <- sample(Example[-c(Grp1, Grp2)], 87, replace=FALSE)
# lather, rinse , repeat
#Don't mess up the original