I was wondering if the following two shufflings of 4 numbers (1:4) are equally random or one is perhaps preferred to the other in terms of randomness:
1:4
sample(rep(1:4, 10)) replicate(10, sample(1:4))
Aucun commentaire:
Enregistrer un commentaire