ForestPlot: Plot the estimated subgroup causal effects via forest plot

View source: R/ForestPlot.R

ForestPlotR Documentation

Plot the estimated subgroup causal effects via forest plot

Description

Plot the estimated subgroup causal effects via forest plot

Usage

ForestPlot(obj, logodds = FALSE, xlab = NULL, legend_label = NULL, ...)

Arguments

obj

a list of summary.PSweight_sga objects obtained with summary.PSweight_sga function. This is done to plot multiple PS weighting methods.

logodds

an indicator to specify whether the effects are estimated on the logodds scale. The default is FALSE.

xlab

an optional character string indicating the xlab of the plot.

legend_label

an optional character vector indicating the PS weighting methods corresponding to the summary.PSweight_sga object. The default is method returned from the summary.PSweight_sga function.

...

further arguments passed to or from other methods.

Value

Plot of the indicated type.


siyunyang/PSweight.sga documentation built on Aug. 16, 2022, 5:23 a.m.