simCImean(ns, n, mu=0, sigma=1, cl=0.95,
ylim.bound=NULL, show.data=FALSE, show.title=TRUE,
miss.only=FALSE, color.hit="gray40", color.miss="red",
grid="grey90", pause=FALSE,
main=NULL, pdf.file=NULL, width=5, height=5, …)
# 25 confidence intervals with a sample size each of 100
# mu=0, sigma=1, that is, sample from the standard normal
simCImean(25, 100)
# 25 confidence intervals with a sample size each of 100
# mu=100, sigma=15
# pause after each interval and show the data
simCImean(25, 100, mu=100, sigma=15, show.data=TRUE)
Run the code above in your browser using DataLab