View source: R/initial_routes.R
resolve_disputes | R Documentation |
Resolve disputes so each node are only assigned one cluster
resolve_disputes(init_routes, cluster, obj = "most_frequent")
init_routes |
a list of initial routes obtained from the 'initial_route2' function |
cluster |
a vector of clusters obtained from the 'route_clustering' function |
obj |
what objective to use when solving the disputes, currently there are "most_frequent" and "highest_score" |
list containing the zones as well as the zones of only undisputed nodes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.