
Last chance! 50% off unlimited learning
Sale ends in
simFlips(n, prob=.5, show.title=TRUE,
show.flips=TRUE, col.grid="grey90", pause=FALSE,
main=NULL, pdf.file=NULL, pdf.width=5, pdf.height=5)
rbinom
function.# 10 flips of a fair coin
simFlips(10, .5)
Run the code above in your browser using DataLab