plt.forest {BayesCACE}R Documentation

this plot function makes a forest plot.

Description

This function provides a visual overview (forest plot) for a model object and corresponding dataset.

Usage

plt.forest(data, obj, ...)

Arguments

data

an input dataset with the same structure as the example data epidural_c, containing multiple rows referring to multiple studies in a meta-analysis.

obj

a model object returned by cace.meta.c, cace.meta.ic, or cace.study

...

optional parameters passed into the forestplot function from the forestplot library

Value

It returns a forestplot object in an R plot window.

Examples


data("epidural_c", package = "BayesCACE")
out.meta.c <- cace.meta.c(data = epidural_c, conv.diag = TRUE, 
mcmc.samples = TRUE, study.specific = TRUE)
plt.forest(data=epidural_c, obj=out.meta.c)


[Package BayesCACE version 1.2.3 Index]