plot.causal_estimates | R Documentation |
Plot method for objects of class 'causal_estimates' to generate a boxplot of percent sample effective sample size (ESS) for a specific weighting method using bootstrap samples.
## S3 method for class 'causal_estimates'
plot(x, ...)
x |
An object of class 'causal_estimates', the number of bootstrap samples |
... |
Additional arguments including:
|
A boxplot of percent sample ESS for a specific weighting method (FLEXOR
, IC
, or IGO
)
data(demo)
set.seed(1)
output2 <- causal.estimate(S, Z, X, Y, B = 5, method = "IC", naturalGroupProp)
plot(output2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.