Skip to content
Prev 206124 / 398503 Next

Conditional Sampling

The last 2 lines of your code can be replaced with:

M <- replicate(1000, sample(Y,5,replace=FALSE) )