Displaying 20 results from an estimated 31 matches for "iso3".
Did you mean:
iso
2017 Sep 07
3
ISO3 code to 7 continents names
Dear all.
Is it possible to convert.identify iso3 country names to the seven
continent names?
# Asia, Africa, Antarctica, Australia, Europe, South America, and North
America,
I have tried the following:
###
region <- merge(countryExData,df,by.x='ISO3V10',by.y='iso3')
where df is the name of my dataset with iso3 the identific...
2017 Sep 07
2
ISO3 code to 7 continents names
df is a data frame consisting of one variable (iso3 codes) such as
USA
RUS
ARG
BGD
ITA
FRA
Some of these iso3 codes are repeated and I would like the corresponding
continent name, the countrycode package does not seem to distinguish
between North and South America. Thanks.
Sincerely,
Milu
On Thu, Sep 7, 2017 at 9:00 PM, David Winsemius <dwi...
2017 Sep 07
0
ISO3 code to 7 continents names
> On Sep 7, 2017, at 12:21 PM, Miluji Sb <milujisb at gmail.com> wrote:
>
> df is a data frame consisting of one variable (iso3 codes) such as
>
> USA
> RUS
> ARG
> BGD
> ITA
> FRA
>
>
> Some of these iso3 codes are repeated and I would like the corresponding continent name, the countrycode package does not seem to distinguish between North and South America. Thanks.
Well it does actually:...
2017 Sep 07
0
ISO3 code to 7 continents names
> On Sep 7, 2017, at 11:36 AM, Miluji Sb <milujisb at gmail.com> wrote:
>
> Dear all.
>
> Is it possible to convert.identify iso3 country names to the seven
> continent names?
>
> # Asia, Africa, Antarctica, Australia, Europe, South America, and North
> America,
>
> I have tried the following:
>
> ###
> region <- merge(countryExData,df,by.x='ISO3V10',by.y='iso3')
>
> whe...
2016 Apr 08
2
Adding Two-Headed Arrow in map legend
I am trying to draw maps for the world using:
library(rworldmap)
library(maptools)
library(RColorBrewer)
tmp2<- dput(head(pece,10))
structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
"CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
2.68984365463257, 1.31406247615814, 1.98046875, 2.61666655540466,
NA, 1.44414067268372, 2.3...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...,100,-140,code=3)
Jim
On Fri, Apr 8, 2016 at 10:24 PM, Miluji Sb <milujisb at gmail.com> wrote:
> I am trying to draw maps for the world using:
>
> library(rworldmap)
> library(maptools)
> library(RColorBrewer)
>
>
> tmp2<- dput(head(pece,10))
> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
> 2.68984365463257, 1.31406247615814, 1.98046875, 2.61666655540466,
> NA, 1.4441...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...at 10:24 PM, Miluji Sb <milujisb at gmail.com> wrote:
> > I am trying to draw maps for the world using:
> >
> > library(rworldmap)
> > library(maptools)
> > library(RColorBrewer)
> >
> >
> > tmp2<- dput(head(pece,10))
> > structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
> > "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
> > 2.68984365463257, 1.31406247615814, 1.98046875, 2.61666655540466,
>...
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
...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)
# Obtain coordinates for the arrow
par('usr')
# -19.75966 54.75966 33.60000 71.40000
# Arrows
par(xpd=TRUE)
arrows(-19.75966, 54.75966, 33.60000, 71.40000,code=3)
par(xpd=FALSE)
As the output shows I cannot seem to get th...
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
...ountryData(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)
> >
> > # Obtain coordinates for the arrow
> > par('usr')
> >
> > # -19.75966 54.75966 33.60000 71.40000
> >
> > # Arrows
> > par(xpd=TRUE)
> > arrows(-19.75966, 5...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...;> I am trying to draw maps for the world using:
> >>>
> >>> library(rworldmap)
> >>> library(maptools)
> >>> library(RColorBrewer)
> >>>
> >>>
> >>> tmp2<- dput(head(pece,10))
> >>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
> >>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
> >>> 2.68984365463257, 1.31406247615814, 1.98046875, 2.61666...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...ujisb at gmail.com> wrote:
>>> I am trying to draw maps for the world using:
>>>
>>> library(rworldmap)
>>> library(maptools)
>>> library(RColorBrewer)
>>>
>>>
>>> tmp2<- dput(head(pece,10))
>>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
>>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
>>> 2.68984365463257, 1.31406247615814, 1.98046875, 2.61666655540466,...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...aps for the world using:
>>>>>
>>>>> library(rworldmap)
>>>>> library(maptools)
>>>>> library(RColorBrewer)
>>>>>
>>>>>
>>>>> tmp2<- dput(head(pece,10))
>>>>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
>>>>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
>>>>> 2.68984365463257, 1.31406247615814, 1.98046875, 2...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...gt;>>> library(rworldmap)
> >>>>>> library(maptools)
> >>>>>> library(RColorBrewer)
> >>>>>>
> >>>>>>
> >>>>>> tmp2<- dput(head(pece,10))
> >>>>>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
> >>>>>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
> >>>>>> 2.68984365463257, 1.31406247615...
2016 Apr 12
0
Adding Two-Headed Arrow in map legend
...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)
>
> # Obtain coordinates for the arrow
> par('usr')
>
> # -19.75966 54.75966 33.60000 71.40000
>
> # Arrows
> par(xpd=TRUE)
> arrows(-19.75966, 54.75966, 33.60000, 71.40000,code=3)
> par(xpd...
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 09
0
Adding Two-Headed Arrow in map legend
...;> I am trying to draw maps for the world using:
> >>>
> >>> library(rworldmap)
> >>> library(maptools)
> >>> library(RColorBrewer)
> >>>
> >>>
> >>> tmp2<- dput(head(pece,10))
> >>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
> >>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
> >>> 2.68984365463257, 1.31406247615814, 1.98046875, 2.61666...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...map)
> > >>>>>> library(maptools)
> > >>>>>> library(RColorBrewer)
> > >>>>>>
> > >>>>>>
> > >>>>>> tmp2<- dput(head(pece,10))
> > >>>>>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
> > >>>>>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
> > >>>>>> 2.68984365463257, 1.3...
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
...gt;>>> library(rworldmap)
> >>>>>> library(maptools)
> >>>>>> library(RColorBrewer)
> >>>>>>
> >>>>>>
> >>>>>> tmp2<- dput(head(pece,10))
> >>>>>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
> >>>>>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
> >>>>>> 2.68984365463257, 1.31406247615...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...;>>>>
>>>>>> library(rworldmap)
>>>>>> library(maptools)
>>>>>> library(RColorBrewer)
>>>>>>
>>>>>>
>>>>>> tmp2<- dput(head(pece,10))
>>>>>> structure(list(iso3 = c("AUS", "AUT", "BEL", "CAN", "CHE", "CHL",
>>>>>> "CZE", "DEU", "DNK", "ESP"), eps_score = c(0.877343773841858,
>>>>>> 2.68984365463257, 1.31406247615814, 1.980...
2016 Apr 13
0
Adding Two-Headed Arrow in map legend
...t="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)
>> >
>> > # Obtain coordinates for the arrow
>> > par('usr')
>> >
>> > # -19.75966 54.75966 33.60000 71.40000
>> >
>> > # Arrows
>> > par(xpd=...