network.forest.plot {bnma}R Documentation

Draws forest plot

Description

Draws forest plot of pooled treatment effect. Reports odds ratio for binomial and multinomial outcomes and continuous scale for normal outcomes.

Usage

network.forest.plot(
  result,
  level = 0.95,
  ticks.position = NULL,
  label.multiplier = 0.2,
  label.margin = 10,
  title = "Network Meta-analysis Forest plot",
  only.reference.treatment = FALSE
)

Arguments

result

Object created by network.run function

level

Confidence level. Default is 0.95 denoting 95 percent C.I.

ticks.position

Position of the x-axis tick marks. If left unspecified, the function tries to set it at sensible values

label.multiplier

This is a multiplying factor to move the position of the text associated with median[lower, upper] values. This number is multiplied by the range of x-axis and added to the x-axis limit. Default multiplier is set to 0.2.

label.margin

This is how much margin space you specify to assign space for the median[lower, upper] values. Default margin is set to 10.

title

Header name which you can modify

only.reference.treatment

Indicator for plotting only the comparison to the reference treatment

Value

None

References

W. Viechtbauer (2010), Conducting meta-analyses in R with the metafor package, Journal of Statistical Software, 36(3):1-48. doi: 10.18637/jss.v036.i03

Examples

network <- with(certolizumab, {
 network.data(Outcomes, Study, Treat, N=N, response="binomial", Treat.order,
 covariate = covariate, hy.prior = list("dhnorm", 0, 9.77))
})

result <- network.run(network)
network.forest.plot(result)


[Package bnma version 1.4.0 Index]