andysouth / rworldmap

R package for mapping country data
29 stars 7 forks source link

How to use mapBubbles & mapCountryData in the same map? #5

Closed ONeillMB1 closed 8 years ago

ONeillMB1 commented 8 years ago

I would like to combine the mapCountryData and mapBubbles functions into one map so that I have a map with countries shaded by one variable and bubbles representing another. Below are examples of two maps I would like to merge:

image

image

andysouth commented 8 years ago

Try 'add=TRUE' in the 2nd.

On 18 May 2016 at 17:12, ONeillMB1 notifications@github.com wrote:

I would like to combine the mapCountryData and mapBubbles functions into one map so that I have a map with countries shaded by one variable and bubbles representing another. Below are examples of two maps I would like to merge:

[image: image] https://cloud.githubusercontent.com/assets/5341397/15366286/3cbad4e6-1ce9-11e6-8692-d90f633e94c9.png

[image: image] https://cloud.githubusercontent.com/assets/5341397/15366314/5d657250-1ce9-11e6-9271-09562b89ef59.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/AndySouth/rworldmap/issues/5

ONeillMB1 commented 8 years ago

Beautiful! Thank you!