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