View source: R/initial_routes.R
route_clustering | R Documentation |
Perform hierarchical clustering based on initial routes
route_clustering( p_inst, init_routes, k, measure = "position-based", weigthed = T, order_preserving = F )
init_routes |
a list of initial routes obtained from the 'initial_route2' function |
k |
the number of agents |
measure |
what dissimilarity measure to use, can be either "element-based" or "position-based". Defaults to "position-based". |
weigthed |
a list containing the 'hclust' object and a vector of the clusters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.