gower function

Compute Gower's centered similarity matrix from a distance matrix

Compute Gower's centered similarity matrix from a distance matrix

Compute Gower's centered similarity matrix GG, which is the matrix decomposed by the MDMR test statistic.

gower(d.mat)

Arguments

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

Returns

G Gower's centered dissimilarity matrix computed from D.

References

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

Author(s)

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

  • Maintainer: Dan McArtor
  • License: GPL (>= 2)
  • Last published: 2025-03-28