powered by
dice.plot(n, prob = NULL, col = "black", type = NULL, main = NULL, sub = NULL)
dice.plot(n = 4, col ='red', type = 'p') dice.plot(3, prob = c(0.3, 0.1, 0.2, 0.1, 0.1, 0.2))
Run the code above in your browser using DataLab