Computes D
and S
for use within compute_smd.
compute_smd_parts(.x, .g, .w, .na, .ref, .unwgt, applyFUN = n_mean_var)
a vector of values
a vector of groupings to compare
a vector of weights (optional)
TRUE/FALSE
. NA
handling
integer position of the reference group
Use unweighted or weighted covariance.
the FUN
used to compute the SMD parts. Defaults to
n_mean_var