View source: R/balance.boxplot.R
boxplot.PSAboot.balance | R Documentation |
Boxplot of the balance statistics for bootstrapped samples.
## S3 method for class 'PSAboot.balance'
boxplot(
x,
unadjusted.color = "red",
pooled.color = "blue",
point.size = 3,
point.alpha = 0.5,
...
)
x |
results of |
unadjusted.color |
the color used for the unadjusted effect size. |
pooled.color |
the color used for the mean bootstrap effect size. |
point.size |
the size of the points. |
point.alpha |
the transparency level for the points. |
... |
other parameters passed to |
a ggplot2 expression.
library(PSAboot)
data(pisa.psa.cols)
data(pisausa)
bm.usa <- PSAboot(Tr = as.integer(pisausa$PUBPRIV) - 1,
Y = pisausa$Math,
X = pisausa[,pisa.psa.cols],
control.ratio = 5, M = 100, seed = 2112)
bm.usa.bal <- balance(bm.usa)
boxplot(bm.usa.bal, nrow = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.