Hello everyone!
I am doing the hierarchical clustering model in Stata on the county level. My results give 800 different clusters. Therefore, I would like to produce a map showing different clusters. However, I don't know if there is any palette in Stata that generate 800 different colors to map each cluster results (there are 3140 counties in total). I am using maptile developed by Michael Stepner would like to ask what should I do (I can also do it in spmap if it is easier). Here is my code
use cluster_results, clear
cluster generate cluster = gr(810)
maptile cluster, geo(county1990) fcolor(Paired)
This is what it gives me:
Array
This is what I want (produced from R)
Array
Thank you very much!
Related Posts with How can I plot distinct color for different cluster results in a map setting?
marking ticks in the bar graphHi, Below is my graph that I used to generate the following graph. I want to add ticks to the middl…
postestimation, predict, and pweightsHi, I use the following regression: Code: reg y x i.time [pweight=weight], r predict yhat, xb by…
Interpreting Fisher-type unit root tests in panel dataHello, I have an unbalanced panel data set consisting of N=25,102 and T between 1-35 years (on aver…
How to destring date/time with commaHello, I have a date/time variable formatted in the following way: "01-24-2019, 03:26 PM" and canno…
How to tackle the r1400 error message with xtmixedHELLO< I have repeated measures data where patient scores are measured over four visits. The tim…
Subscribe to:
Post Comments (Atom)
0 Response to How can I plot distinct color for different cluster results in a map setting?
Post a Comment