Hi guys,
I am trying to map the result by using "spmap" command, yet keep having troubles with the error saying "master data not sorted"...
Below is the code that I used,
------------------------------------------------
use "$processed/production_regional.dta", clear
format weight_edible_ameday %4.2f
spmap weight_edible_ameday using vietmap_province_region3.dta, id(_ID) fcolor($colorscale) ///
legend(symy(*1) symx(*1) size(3) pos(4)) ///
title("Total harvest (kg/day/AME)", size($titlesize)) cln(7) ///clm(c) clb($cats) ///
note("Source: ***** crop production", size($notesize))
graph export "$maps/prod_region_weight.png", as(png) replace
------------------------------------------------
Can anyone tell me how I can resolve this problem?
Many thanks,
Manny
Related Posts with using "spmap"
Binscatter: Ordering x axis according to size of dots.Hello. I have data similar to the following : Code: * Example generated by -dataex-. To install: ss…
Ranking means from highest to lowest after bysort occupation: sumDear all, I would like to know how to rank means from highest to lowest after the following command…
Logit fixed effects (cross sectional data)Hi, I'm trying to find the right command to run a model of a dichotomous outcome and use fixed effe…
stset with multiple failure per subject dataHi everyone, I would like to ask for some advice on stset-ing my dataset with multiple failures per…
Calculating weight for age z-scores in stataDear colleagues am trying to calculate weight for age z-score in stata but am just getting value 99 …
Subscribe to:
Post Comments (Atom)
0 Response to using "spmap"
Post a Comment