Learn R Programming

MDMR (version 0.5.2)

gower: Compute Gower's centered similarity matrix from a distance matrix

Description

Compute Gower's centered similarity matrix \(G\), which is the matrix decomposed by the MDMR test statistic.

Usage

gower(d.mat)

Value

G Gower's centered dissimilarity matrix computed from D.

Arguments

d.mat

Symmetric distance matrix (or R distance object) computed from the outcome data to be used in MDMR.

Author

Daniel B. McArtor (dmcartor@gmail.com) [aut, cre]

References

Gower, J. C. (1966). Some distance properties of latent root and vector methods used in multivariate analysis. Biometrika, 53(3-4), 325-338.