View source: R/colour_distance.R
optimal_order | R Documentation |
Start with variable which has the largest distance between all other variables. Then add the variable with the largest distance to the already selected variables.
optimal_order(distance, selected = character(0))
distance |
a square distance matrix |
selected |
optional vector of preselected variables |
a vector variable names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.