powered by
expt(x, n, prob = NULL)
expt(x = c(1:3), n = 4) expt(c(2:4), 3, prob = c(0.3, 0.5, 0.2))
Run the code above in your browser using DataLab