calc_diss_matrix | R Documentation |
Uses the cluster::daisy
function. This function needs
the character columns as factors to properly function
calc_diss_matrix(dta, metric = c("euclidean", "manhattan", "gower"))
dta |
A dataframe. The data |
metric |
The metric to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.