metaplot.surv {survcomp} | R Documentation |
Plot confidence intervals with boxes indicating the sample
size/precision and optionally a diamond indicating a summary
confidence interval. This function is usually called by plot
methods for meta-analysis objects. Additional, you can specifiy your
own lower and upper boarder from the confidence interval.
metaplot.surv(mn, se=NULL, lower=NULL, upper=NULL, nn=NULL, labels=NULL, conf.level = .95, xlab = "", ylab = "", xlim = NULL, summn = NULL, sumse = NULL, sumlower = NULL, sumupper = NULL, sumnn = NULL, summlabel = "Summary", logeffect = FALSE, lwd = 2, boxsize = 1, zero = as.numeric(logeffect), colors, xaxt="s", logticks=TRUE, ... )
mn |
point estimates from studies |
se |
standard errors of |
lower |
Vector of lower ends of confidence intervals |
upper |
Vector of upper ends of confidence intervals |
nn |
precision: box ares is proportional to this. |
labels |
labels for each interval |
conf.level |
Confidence level for confidence intervals |
xlab |
label for the point estimate axis |
ylab |
label for the axis indexing the different studies |
xlim |
the range for the x axis. |
summn |
summary estimate |
sumse |
standard error of summary estimate |
sumlower |
lower end of confidence intervals of summary estimate |
sumupper |
upper end of confidence intervals of summary estimate |
sumnn |
precision of summary estimate |
summlabel |
label for summary estimate |
logeffect |
|
lwd |
line width |
boxsize |
Scale factor for box size |
zero |
"Null" effect value |
xaxt |
use |
logticks |
if |
.
colors |
see |
... |
Other graphical parameters |
This function is used for its side-effect.
forestplot.surv
for more flexible plots
metaplot.surv(mn=c(0.4,0.5,0.6), lower=c(0.35,0.4,0.57), upper=c(0.45,0.6,0.63), labels=c("A","B","C"), xlim=c(0.2,0.8), boxsize=0.5, zero=0.5, col=rmeta::meta.colors(box="royalblue",line="darkblue",zero="firebrick"))