SB_Calc_B | R Documentation |
Calculate Standardized Bias for Binary Variables
SB_Calc_B(x, y)
x |
A numeric vector |
y |
A numeric vector |
Jaehyun Song <http://www.jaysong.net>
BalanceR
## Not run: data(BlcDF) # Standardized bias of "Sex" variable between "Control" and "Treat1" group. SB_Calc_B(BlcDF$Sex[BlcDF$Group == "Control"], BlcDF$Sex[BlcDF$Group == "Treat1"]) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.