you also don't need to do a merger if you use a base `geom_map()`
layer with the polygons and another using the fill (or points, lines,
etc).
On Fri, Jun 17, 2016 at 5:08 PM, MacQueen, Don wrote:
> And you can check what David and Jeff suggested like this:
>
> intersect( df$COUNTRY, world_map$reg
And you can check what David and Jeff suggested like this:
intersect( df$COUNTRY, world_map$region )
If they have any values in common, that command will show them. (Note that
I said values in common, not countries in common.)
WARNING:
It appears that you have each country appearing more than on
> On Jun 17, 2016, at 1:06 PM, ch.elahe via R-help wrote:
>
> Hi all,
> I want to use world map in ggplot2 and show my data on world map. my df is:
>
>
>$ COUNTRY : chr "DE" "DE" "FR" "FR" ..
>
>$ ContrastColor : int 9 9 9 9 13 9 9 9 9 ..
>
>$ quant :
You should look at your own data before you post. The information in COUNTRY is
not the same as the information in region.
Also, dput is better than str for posting questions.
--
Sent from my phone. Please excuse my brevity.
On June 17, 2016 1:06:29 PM PDT, "ch.elahe via R-help"
wrote:
>Hi a
Hi all,
I want to use world map in ggplot2 and show my data on world map. my df is:
$ COUNTRY : chr "DE" "DE" "FR" "FR" ..
$ ContrastColor : int 9 9 9 9 13 9 9 9 9 ..
$ quant : Factor w/ 4 levels "FAST","SLOW",..I need to merge my
df with world_map data
5 matches
Mail list logo