View source: R/matching_diagnostics.R
| calculate_var_balance | R Documentation |
Calculate Variable-Level Balance Statistics
calculate_var_balance(
left_vals,
right_vals,
var_name,
w_left = NULL,
w_right = NULL
)
left_vals |
Numeric vector of values from left group |
right_vals |
Numeric vector of values from right group |
var_name |
Character, name of the variable |
w_left |
Optional numeric vector of weights for |
w_right |
Optional numeric vector of weights for |
List with balance statistics for this variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.