Skip to content

plot (wrld_simpl)

2 messages · Xing,Yanru, Roger Bivand

#
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)
#
On Thu, 4 Jun 2015, Xing,Yanru wrote:

            
library(maptools) # by the way - always state packages used
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