jeudi 10 janvier 2019

Equality of two shuffling techniques in R

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:

sample(rep(1:4, 10))

replicate(10, sample(1:4))




Aucun commentaire:

Enregistrer un commentaire