When I used the following code to plot the world country boundary and found out that there is no boundary between South Sudan and North Sudan. Any one know how to solve that? data(wrld_simpl) plot(wrld_simpl,add=TRUE)
plot (wrld_simpl)
2 messages · Xing,Yanru, Roger Bivand
On Thu, 4 Jun 2015, Xing,Yanru wrote:
When I used the following code to plot the world country boundary and found out that there is no boundary between South Sudan and North Sudan. Any one know how to solve that?
library(maptools) # by the way - always state packages used
data(wrld_simpl) plot(wrld_simpl,add=TRUE)
The dataset in maptools is kept the way it was in 2007. For an alternative, see: library(rworldmap) data(countriesLow) plot(countriesLow) and the vignette in the rworldmap for metadata. See also the cshapes package for boundaries tracking changes over time. Hope this helps, Roger
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Roger Bivand Department of Economics, Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 91 00 e-mail: Roger.Bivand at nhh.no