A ggplot graph showing a map with the centers of the clusters.
Arguments
odmeans_data
It receives an object from S3 ODMeans class. However, it can also work with objects from similar classes like S3 k-Means
title
It receives an string, and corresponds to the title of the plot.
maptype
It receives a string with the type of the map. Depending on the map selected, it will change the background of it. The possible values are: “terrain”, “satellite”, “roadmap”, “hybrid”.
zoom
An integer from 3 (continent) to 21 (building), which controls the level of zoom applied to the map.
add_cluster
Receives TRUE or FALSE value. When True, it adds the number of the cluster to the arrows.