Compute Gower's centered similarity matrix from a distance matrix
Compute Gower's centered similarity matrix , which is the matrix decomposed by the MDMR test statistic.
gower(d.mat)
d.mat
: Symmetric distance matrix (or R distance object) computed from the outcome data to be used in MDMR.G Gower's centered dissimilarity matrix computed from D.
Gower, J. C. (1966). Some distance properties of latent root and vector methods used in multivariate analysis. Biometrika, 53(3-4), 325-338.
Daniel B. McArtor (dmcartor@gmail.com) [aut, cre]