plot.binMto {binMto} | R Documentation |
Plot confidence intervals calculated using binMto.
Description
A plot function for confidence intervals calculated using binMto
.
Usage
## S3 method for class 'binMto'
plot(x, ltyH0 = 3, H0line = 0,
ltyCI = 2, main = NULL, xlab = NULL, ...)
Arguments
x |
an object of class 'binMto' obtained from function binMto |
ltyH0 |
numerical value specifying the line type of the vertical line in the plot, see ?par for options |
H0line |
a numerical value, specifying where to draw a vertical line in the plot |
ltyCI |
numerical value specifying the line type of the confidence intervals in the plot, see ?par for options |
main |
a main title as in ?plot |
xlab |
a x-axis label as in ?plot |
... |
further arguments as given in ?plot or ?par |
Author(s)
Frank Schaarschmidt
References
The example below, see: Bretz, F. and Hothorn, L.A. (2002): Detecting dose-response using contrasts: Asymptotic power and sample size determination for binomial data. Statistics in Medicine 21, 3325-3335.
Examples
# 1)Simultaneous CI for Dunnett contrasts
# for the example in Table 1 of
plot(binMto(x=c(9,19,21,21,24), n=c(20,43,42,42,41), names = c("Placebo",0.125,0.5,0.75,1) ))
[Package binMto version 0.0-7 Index]