Description Usage Arguments Value Examples
bal.table
calculates balance tables from a ps.xgb
object
1 2 3 4 5 6 7 8 |
x |
A |
type |
An optional character string requesting if balance should be summarized overall ("overall") or by strata ("strata"). Default: "overall". |
n |
An integer specifying the number of rows to print in the balance table. Default: 10. |
decreasing |
A logical value indicating if the balance table should be sorted in increasing or decreasing order. |
which.sort |
An optional character string indicating if the balance table should be sorted by the adjusted ("adj") or unadjusted ("unadj") absolute standardized differences. Default: "adj". |
include.var |
A logical value indicating if the variable corresponding the the maximum absolute standardized difference
within strata should be included in the balance table. Only valid when |
Returns a table.
1 2 | # See vignette for examples.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.