mardi 30 mai 2017

rbinom for rolling a 111-side die 104 times in r

i understand if you roll a 100-side die 100 times for a total number of 7s. you get

  rbinom(1,100,0.07)

but how do you roll a 111-sided die 104 times and get the total number of 34s you get? kinda confused.




Aucun commentaire:

Enregistrer un commentaire