norm_diff.Rd
Normalised Difference (Imbens, Rubin 2015) for observational studies
norm_diff(df, treat, value)
dataframe to check balance
dummy for treatment
covariate to calculate normalised difference statistic
norm_diff(mtcars, vs, gear) #> [1] 0.4227752