forest_metalr: Forest plot for likeliihood ratio based meta-analysis.

Description Usage Arguments Value Examples

Description

The function plots confidence limits of traditional 95% CIs and 95% ICIs for the studies included in the meta-analysis as well as confidence bars associated with the overall effect estimates.

Usage

1
forest_metalr(metalr_obj)

Arguments

metalr_obj

An abject from the metalr functions metalr_or() or metalr_rr(). The metalr object is a list of results computed by the metalr functions which includes a dataframe of mle of the effect estimates and their corresponding 95% CIs and ICIs. See the example below.

Value

Returns a forest plot of the 95% CIs and 95% ICIs.

Examples

1
2
3
4
5
6
7
8
## Not run: 
data("statindata")  #statin potency and acute kidney injury dataset
# the metalr object
metalr_obj<-metalr_or(idata=statindata[,2:5],refval=0,num_iter=3000,increm=0.001,method = "random")
#forest plot of the metalr object
forest_metalr(metalr_obj)

## End(Not run)

cnodes/metalr documentation built on May 23, 2019, 8:38 a.m.