overlayCI {PairViz}R Documentation

Function to overlay confidence intervals on the current plot.

Description

Overlays confidence intervals on the current plot. Also draws a right hand axis, a horizontal broken line at zero, and marks the significant comparisons with an arrow, i.e. the CIs that do not intersect zero.

Usage

overlayCI(cis, xpos=NULL,ci.cols = NULL, ci.ex = 3, ci.ocol = "steelblue", p.col = "grey44", pch = 3, sig.col = "red", sig.lwd = 2, yusr = NULL,ci.label="Differences",...)

Arguments

cis A matrix containing the confidence intervals. Each row corresponds to a different comparison, the first column is the estimated mean, and succesive pairs of columns give the lower and upper limits for different confidence levels.
ci.cols A vector of colours, one colour for each confidence level. Defaults to shades of grey.
ci.ex Controls confidence interval line width.
xpos Horizonal positions where CIs are drawn. Defaults to 1.5,2.5,3.5,..
ci.ocol Colour of zero line.
p.col Colour of point used for CI centre.
pch Symbol used for CI centre.
sig.col Colour of arrow marking significant comparisons.
sig.lwd Width of arrow marking significant comparisons.
yusr Specifies the vertical par(usr) .Defaults to max and min.
ci.label Label drawn on right margin.
...

Note

This function is called by mc_plot

Author(s)

C.B. Hurley and R.W. Oldford

References

see overview

See Also

See Also as mc_plot


[Package PairViz version 1.0 Index]