R: Having trouble producing multiple multi-number samples
I'm trying to draw samples from a runif(100,900,1100) population. I want to draw 25 samples of size n = 5 with replacement, but it seems that sample() outputs only scalar samples. What is the best approach for this?
Aucun commentaire:
Enregistrer un commentaire