powered by
dice(n, prob = NULL)
dice(n = 4) dice(2, c(0.1, 0.2, 0.2, 0.1, 0.3, 0.1))
Run the code above in your browser using DataLab