CorEvitas Standardized Differences for categorical
standardized_diff.Rd
This function calculates standardized categorical variable differences between the specified strata variable. If the strata variable has more than 2 levels, corresponding pairwise comparisons will be performed.
Arguments
- strata
variable by which to compare standardized differences between the variable
- variable
variable by which to calculate the standardized differences
- weights
variable by which to weigh observations
- data
dataframe object that contains the data, variable, and strata variable from which to calculate