Hello List,
I have a map of Africa I plot using spplot(). In addition, I have a second map
of Sao Tome (a small island). I want to add this second map to the first as an
inset because it would otherwise not be visible at the same scale of the
continent.
This is what I currently do: I save bot
ing
>> yourself, which might be fine if you need to do it just once.
>>
>>
>> On 10/15/2011 05:01 PM, dieter Vanderelst wrote:
>>
>>> Hello List,
>>>
>>> I have a map of Africa I plot using spplot(). In addition, I have a
>>> second m
Dear List,
I've read in a shapefile using the readShapePoly {maptools} function.
This shapefile represents Angola and has different polygons for the
different regions of the country. I also have a set of coordinates
(lat/long). Now want to do two things:
1 - I want to plot the points on the map.
Dear List,
I'm reading in a shapefile of a country with different subregions in the
shapefile (the shapefile was downloaded from the GADM database of Global
Administrative Areas). I also have a number of points. Therefore, my
code looks like this (using the maptools package):
country<-readSh