powered by
dice.simu(n, times, prob = NULL)
dice.simu(n = 4, times = 1000) dice.simu(4, 1000, prob = c(0.3, 0.1, 0.1, 0.1, 0.3, 0.1))
Run the code above in your browser using DataLab