Displaying 19 results from an estimated 19 matches for "mapcountrydata".
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
Dear David,
Thank you for your answer. Sorry for the embarrassing mistake. However,
even with when I generate a map for the whole world using:
eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
Score",colourPalette=colourPalette,
catMethod="fixedWidth", missingCountryCol = "white",
addLegend=FALSE)
And then use:
do.call(addMapLegend, c(eps, legendLabels="none",
arrows(-...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
Forgot to copy the list
Dear Jim,
Thank you for your reply. I must be doing something wrong, If this is my
command to plot a map of Europe:
eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
Score - Europe",colourPalette=colourPalette,
catMethod="fixedWidth", missingCountryCol =
"white", mapRegion="Europe", addLegend=FALSE)
The following command does not seem t...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...gt;
>> On Apr 9, 2016, at 10:46 AM, Miluji Sb <milujisb at gmail.com> wrote:
>>
>> Dear David,
>>
>> Thank you for your answer. Sorry for the embarrassing mistake. However, even with when I generate a map for the whole world using:
>>
>> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score",colourPalette=colourPalette,
>> catMethod="fixedWidth", missingCountryCol = "white", addLegend=FALSE)
>>
>> And then use:
>>
>> do.call(addMapLegend, c...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...;milujisb at gmail.com> wrote:
> >>>
> >>> Dear David,
> >>>
> >>> Thank you for your answer. Sorry for the embarrassing mistake.
> However, even with when I generate a map for the whole world using:
> >>>
> >>> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
> Score",colourPalette=colourPalette,
> >>> catMethod="fixedWidth", missingCountryCol =
> "white", addLegend=FALSE)
> >>>
> >>> And then use:
> >...
2012 Jan 10
0
rworldmap: xlim, ylim do not change plotting region
Specifying xlim or ylim in the mapCountryData function of the rworldmap library do not alter the plotting region on my system.
#Using the example from rworldmap
library(rworldmap)
mapCountryData() #uses the sample dataset
mapCountryData(ylim = c(-45,45)) #makes no difference to the plot
R 2.14.1 on Linux Mint 11 64bit.
Thanks,
Dan
________...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
> On Apr 9, 2016, at 10:46 AM, Miluji Sb <milujisb at gmail.com> wrote:
>
> Dear David,
>
> Thank you for your answer. Sorry for the embarrassing mistake. However, even with when I generate a map for the whole world using:
>
> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score",colourPalette=colourPalette,
> catMethod="fixedWidth", missingCountryCol = "white", addLegend=FALSE)
>
> And then use:
>
> do.call(addMapLegend, c(eps, legendLabels=...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...te:
> > >>>
> > >>> Dear David,
> > >>>
> > >>> Thank you for your answer. Sorry for the embarrassing mistake.
> However, even with when I generate a map for the whole world using:
> > >>>
> > >>> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
> Score",colourPalette=colourPalette,
> > >>> catMethod="fixedWidth", missingCountryCol =
> "white", addLegend=FALSE)
> > >>>
> > >>> And the...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
> On Apr 9, 2016, at 8:13 AM, Miluji Sb <milujisb at gmail.com> wrote:
>
> Forgot to copy the list
>
> Dear Jim,
>
> Thank you for your reply. I must be doing something wrong, If this is my
> command to plot a map of Europe:
>
> eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
> Score - Europe",colourPalette=colourPalette,
> catMethod="fixedWidth", missingCountryCol =
> "white", mapRegion="Europe", addLegend=FALSE)
>
> The following...
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
...b <milujisb at gmail.com> wrote:
> >>>
> >>> Dear David,
> >>>
> >>> Thank you for your answer. Sorry for the embarrassing mistake. However, even with when I generate a map for the whole world using:
> >>>
> >>> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score",colourPalette=colourPalette,
> >>> catMethod="fixedWidth", missingCountryCol = "white", addLegend=FALSE)
> >>>
> >>> And then use:
> >>>...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...2016, at 10:46 AM, Miluji Sb <milujisb at gmail.com> wrote:
>>>
>>> Dear David,
>>>
>>> Thank you for your answer. Sorry for the embarrassing mistake. However, even with when I generate a map for the whole world using:
>>>
>>> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score",colourPalette=colourPalette,
>>> catMethod="fixedWidth", missingCountryCol = "white", addLegend=FALSE)
>>>
>>> And then use:
>>>
>>> do.c...
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
Dear Jim,
Thanks again! I do want the arrows at the bottom (beneath the map). This is
what I am doing:
# Draw the map
eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
Score - Europe",colourPalette=colourPalette,
catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe",
addLegend=FALSE)
# ISO3 codes on the map
text(n, labels="ISO3", cex=0.30)...
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
...; wrote:
> > >>>
> > >>> Dear David,
> > >>>
> > >>> Thank you for your answer. Sorry for the embarrassing mistake. However, even with when I generate a map for the whole world using:
> > >>>
> > >>> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score",colourPalette=colourPalette,
> > >>> catMethod="fixedWidth", missingCountryCol = "white", addLegend=FALSE)
> > >>>
> > >>> And then use:
>...
2016 Apr 08
2
Adding Two-Headed Arrow in map legend
...;8", "9", "10"), class = "data.frame")
n <- joinCountryData2Map(pece, joinCode="ISO3", nameJoinColumn="iso3")
n <- n[-which(row.names(n)=='Antarctica'),]
# EPS
colourPalette <- rev(brewer.pal(7, "RdYlGn"))
eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
Score",colourPalette=colourPalette,
catMethod="fixedWidth", missingCountryCol = "white",
addLegend=FALSE)
do.call(addMapLegend, c(eps, legendLabels="all", legendWidth=0.5))
Instea...
2016 Apr 11
2
Adding Two-Headed Arrow in map legend
...;
> > > >>> Dear David,
> > > >>>
> > > >>> Thank you for your answer. Sorry for the embarrassing mistake.
> However, even with when I generate a map for the whole world using:
> > > >>>
> > > >>> eps <- mapCountryData(n, nameColumnToPlot="eps_score",
> mapTitle="EPS Score",colourPalette=colourPalette,
> > > >>> catMethod="fixedWidth", missingCountryCol =
> "white", addLegend=FALSE)
> > > >>>
> > > >&...
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
...>
> On Tue, Apr 12, 2016 at 7:58 PM, Miluji Sb <milujisb at gmail.com> wrote:
> > Dear Jim,
> >
> > Thanks again! I do want the arrows at the bottom (beneath the map). This
> is
> > what I am doing:
> >
> > # Draw the map
> > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score",
> mapTitle="EPS
> > Score - Europe",colourPalette=colourPalette,
> > catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe",
> > addLegend=FALSE)
> >
> > # ISO3 codes...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
..."), class = "data.frame")
> n <- joinCountryData2Map(pece, joinCode="ISO3", nameJoinColumn="iso3")
> n <- n[-which(row.names(n)=='Antarctica'),]
>
> # EPS
> colourPalette <- rev(brewer.pal(7, "RdYlGn"))
>
> eps <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
> Score",colourPalette=colourPalette,
> catMethod="fixedWidth", missingCountryCol = "white",
> addLegend=FALSE)
> do.call(addMapLegend, c(eps, legendLabels="all", legen...
2016 Apr 12
0
Adding Two-Headed Arrow in map legend
...ows(-22,54.75,-22,74,code=3)
par(xpd=FALSE)
Jim
On Tue, Apr 12, 2016 at 7:58 PM, Miluji Sb <milujisb at gmail.com> wrote:
> Dear Jim,
>
> Thanks again! I do want the arrows at the bottom (beneath the map). This is
> what I am doing:
>
> # Draw the map
> eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
> Score - Europe",colourPalette=colourPalette,
> catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe",
> addLegend=FALSE)
>
> # ISO3 codes on the map
> text(n, label...
2016 Apr 11
0
Adding Two-Headed Arrow in map legend
Hi Milu,
I just realized that by "the bottom of the map" you may mean "beneath
the map", in which case you should use:
par(xpd=TRUE)
arrows(...)
par(xpd=FALSE)
Jim
On Mon, Apr 11, 2016 at 11:50 PM, Miluji Sb <milujisb at gmail.com> wrote:
> Dear David,
>
> Thank you very much for your replies! I didn't know about par('usr').
>
> I get
2016 Apr 13
0
Adding Two-Headed Arrow in map legend
...8 PM, Miluji Sb <milujisb at gmail.com> wrote:
>> > Dear Jim,
>> >
>> > Thanks again! I do want the arrows at the bottom (beneath the map). This
>> > is
>> > what I am doing:
>> >
>> > # Draw the map
>> > eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score",
>> > mapTitle="EPS
>> > Score - Europe",colourPalette=colourPalette,
>> > catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe",
>> > addLegend=FALSE)
>> &g...