Open malmufre opened 4 years ago
Is it a clustering problem or graphing problem?
What does your model produce?
fit <- Mclust( d3 )
summary( fit )
Its a graphing problem I am getting an empty graph
I am also getting empty graphs
Did you assign your new groups to your dorling object?
phx$cluster <- as.factor( fit$classification )
That is how the graphic assigns the colors: col="cluster"
tmap_mode("plot")
tmap_style("cobalt")
tm_shape( phx2, bbox=bb ) +
tm_polygons( col="cluster", palette="Accent" )
I am trying this code to show the clusters so I can compare the groups but I am not getting any display of clusters. What could be the problem