View source: R/generateSimilarityKernel.R
generateSimilarityKernel | R Documentation |
Computes Gower's centered similarity matrix from a distance matrix.
generateSimilarityKernel(D, squareValues = TRUE)
D |
A square distance matrix. This may also be an object of class "dist". |
squareValues |
Logical, indicating whether to square the values in 'D' before building the similarity kernel. |
A similarity kernel matrix of the same dimension as the input matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.