plot.cima {pimeta}R Documentation

Plot Results

Description

A function for plotting of 'cima' objects.

Usage

## S3 method for class 'cima'
plot(x, y = NULL, title = "Forest plot",
  base_size = 16, base_family = "", digits = 3, studylabel = NULL,
  ntick = NULL, trans = c("identity", "exp"), ...)

Arguments

x

'cima' object to plot

y

is not used

title

graph title

base_size

base font size

base_family

base font family

digits

a value for digits specifies the minimum number of significant digits to be printed in values.

studylabel

labels for each study

ntick

the number of x-axis ticks

trans

transformation for logarithmic scale outcomes ("identity" [default] or "exp").

...

further arguments passed to or from other methods.

Examples


data(sbp, package = "pimeta")
ciex <- pimeta::cima(sbp$y, sbp$sigmak, method = "DL")
cairo_pdf("forestplot.pdf", width = 6, height = 3, family = "Arial")
plot(ciex, digits = 2, base_size = 10, studylabel = sbp$label)
dev.off()


[Package pimeta version 1.1.3 Index]