# NOT RUN {
NTplot(distribution.name="binomial", n=20, ylim=c(0,4.2), p1=.8)
NTplot(distribution.name="binomial", n=20, type="confidence", ylim=c(0,4.2))
# }
# NOT RUN {
NTplot(distribution.name="binomial", n=20, zaxis=TRUE, z1axis=TRUE,
p1=.8678, ylim=c(0, 5.2))
NTplot(p0=.4, p.hat=.65, p1=.7, distribution.name="binomial", n=15)
NTplot(p.hat=.65, distribution.name="binomial", n=15, type="confidence")
# }
# NOT RUN {
## these are interactive and won't work in R CMD check
if (interactive())
NTplot(distribution.name="binomial", n=20, ylim=c(0,4.2), p1=.8, shiny=TRUE)
if (interactive())
NTplot(p0=.4, p.hat=.65, p1=.7, distribution.name="binomial", n=15, shiny=TRUE)
if (interactive())
NTplot(p.hat=.65, distribution.name="binomial", n=15, type="confidence", shiny=TRUE)
# }
Run the code above in your browser using DataLab