ACE_bounds_triangle.plot: "Triangle" plot of the posterior bounds for the Average...

Description Usage Arguments Value Examples

View source: R/transparent.R

Description

Plot of the posterior upper bound for the Average Causal Effect (ACE) against the corresponding lower bound.

Usage

1
ACE_bounds_triangle.plot(bounds, title.txt)

Arguments

bounds

Posterior bounds from the ACE_bounds_posterior function.

title.txt

Title for the plot.

Value

A "triangle" plot.

Examples

1
2
3
4
5
6
7
8
ace.bnds.lipid <- ACE_bounds_posterior(158, 14, 0, 0, 52, 12, 23, 78,
     prior = c( rep(1, 2), rep(0, 2), rep(1, 4)))
ACE_bounds_triangle.plot(ace.bnds.lipid, "Bounds on ACE for Lipid Data")
## Not run: 
ace.bnds.lipid <- ACE_bounds_posterior(158, 14, 0, 0, 52, 12, 23, 78,
     prior = c( rep(1, 2), rep(0, 2), rep(1, 4)), num.sims = 2e4)
ACE_bounds_triangle.plot(ace.bnds.lipid, "Bounds on ACE for Lipid Data") 
## End(Not run)

noncompliance documentation built on May 2, 2019, 2:38 a.m.