mapPoints {geocmeans} | R Documentation |
Internal function to realize maps based on spatialpointsdataframe
mapPoints(geodata, belongmatrix, undecided = NULL)
geodata |
A spatialpointsdataframe ordered like the original data used for the clustering |
belongmatrix |
The membership matrix obtained at the end of the algorithm |
undecided |
A float between 0 and 1 giving the minimum value that an observation must get in the membership matrix to not be considered as uncertain (default = NULL) |
A named list with :
ProbaMaps : a list of ggplot maps showing for each group the probability of the observations to belong to that group
ClusterMap : a ggplot map showing the most likely group for each observation
#No example provided, this is an internal function, use the general wrapper function mapClusters