I am working with R and using the expression sort(sample(1:60,6,replace=FALSE))
for generating 6 numbers between 1 and 60, without replacement...
I would like to create a loop using FOR statements that allow to generate n different samples, using the logic above.
Any suggestion about how to build this loop?
Aucun commentaire:
Enregistrer un commentaire