Usage
exact2x2Plot(x, y=NULL, OR = NULL, ndiv = 1000, tsmethod=NULL,
method = NULL, paired=FALSE, orRange = NULL, dolog = TRUE,
dolines = FALSE, dopoints = TRUE, doci=TRUE,
alternative=c("two.sided","less","greater"),
conf.level=.95, alphaline=TRUE, newplot = TRUE, ...)
Arguments
x
matrix representing the 2 by 2 table
y
a factor object; ignored if x
is a matrix.
OR
odds ratio values for plot, if NULL divides orRange into ndiv pieces
ndiv
number of pieces to divide up odds ratio range
tsmethod
either "minlike","blaker" or "central"
method
same as tsmethod, kept for backward compatability
paired
logical, do paired analysis giving McNemar's test p-values
orRange
range for calculating odds ratios
dolog
logical,plot odds ratios on log scale?
dolines
logical, add lines to a plot?
dopoints
logical, add points to a plot?
doci
logical, add vertical lines at confidence interval?
alternative
one of "two.sided","less","greater", type of alternative for p-values
conf.level
when doci=TRUE, level for confidence interval to be plotted
alphaline
logical, if doci=TRUE should a line be drawn at the significance level?
newplot
logical,start a new plot?
...
values passed to plot, points, or lines statement