Usage
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)
Arguments
n
Size of each sample, that is, the number of trials or flips.
prob
Probability of a success on any one trial.
show.title
Place a title on the graph that contains the parameter values.
show.flips
Plot the outcome of each flips.
col.grid
Color of the grid lines.
pause
Build the graph and the text output confidence interval by confidence interval.
pdf.file
Name of the pdf file to which graphics are redirected.
pdf.width
Width of the pdf file in inches.
pdf.height
Height of the pdf file in inches.