ACE_bounds_triangle.plot {noncompliance}R Documentation

"Triangle" plot of the posterior bounds for the Average Causal Effect (ACE).

Description

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

Usage

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

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)

[Package noncompliance version 0.2.2 Index]