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