plot_centroid | R Documentation |
Plot centroid locations with demand points
plot_centroid(instance, centroids)
instance |
A list returned from generate_2d_instance |
centroids |
A list returned from grid_centroids |
A ggplot object
instance <- generate_2d_instance() centroids <- grid_centroids(instance, dimension = 3) plot_centroid(instance = instance, centroids = centroids)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.