plot.PSAboot.balance | R Documentation |

Plot method for balance.

```
## S3 method for class 'PSAboot.balance'
plot(
x,
unadjusted.color = "red",
complete.color = "blue",
pooled.color = "black",
...
)
```

`x` |
results from |

`unadjusted.color` |
color of the vertical line representing the mean unadjusted effect size for all covariates. |

`complete.color` |
color of the vertical line representing the mean adjusted effect size for all covariates using the complete dataset. |

`pooled.color` |
color of the vertical line representing the mean adjusted effect size for all covariates across all bootstrapped samples. |

`...` |
currently unused. |

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)
plot(bm.usa.bal)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.