compute_smd_parts: Compute components of SMD

View source: R/smd.R

compute_smd_partsR Documentation

Compute components of SMD

Description

Computes D and S for use within compute_smd.

Usage

compute_smd_parts(.x, .g, .w, .na, .ref, .unwgt, applyFUN = n_mean_var)

Arguments

.x

a vector of values

.g

a vector of groupings to compare

.w

a vector of weights (optional)

.na

TRUE/FALSE. NA handling

.ref

integer position of the reference group

.unwgt

Use unweighted or weighted covariance.

applyFUN

the FUN used to compute the SMD parts. Defaults to n_mean_var


smd documentation built on May 29, 2024, 3:10 a.m.