search for: rworldmap

Displaying 20 results from an estimated 23 matches for "rworldmap".

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 ________ Dr Dan Bebber Head of Cl...
2013 May 11
1
(no subject)
Hello, I am attempting to use the "classInt" package in conjunction with "rworldmap" package in R to construct a chloropleth. I want to use the fixedBreaks argument to specify given breaks. My data look like this: > head(Maji) Country waterused CC 1 Afghanistan 36 AFG 2 Albania 4 ALB 3 Algeria...
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...
2011 Aug 18
1
Bug: argument 'lib.loc' not passed on appropriately in 'library()'?
...lib path. Below is a little code example illustrating the error I'm getting. It'd be great if someone could validate this. Thanks a lot for any comments, Janko ### CODE EXAMPLE ### # Package that I'm sure of that it's not already installed and has dependencies pkg <- "rworldmap" # Making sure that dependencies are not available in the default library remove.packages("sp") remove.packages("maptools") remove.packages("foreign") remove.packages("lattice") # Setting custom lib and destdir path.r.lib <- "C:/temp/R/library&...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
Hi Miluji, Try this: arrows(-100,-140,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")...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...mlemon at gmail.com> wrote: > Hi Miluji, > Try this: > > arrows(-100,-140,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"...
2017 Sep 07
0
ISO3 code to 7 continents names
...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: There are two different region codes: First load the package that has countryExData. I'm presuming this is: library(rworldmap) > table(countryExData$EPI_regions) Central and Eastern Europ East Asia and the Pacific Europe 19 18 24 Latin America and Caribbe Middle East and North Africa North Ame...
2017 Jan 03
3
Consulta mapas
Hola! Quiero empezar a georeferenciar en mapas con R. En blogs se encuentra bastante información pero veo que no hay unanimidad respecto a las librerías a utilizar ni tampoco la información es muy clara ni abarcativa. ¿Alguno/a trabaja con mapas en R y me puede indicar por donde encarar? En principio mi interés es realizar mapas sencillos con información por provincias y departamentos de
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 <dwinsemius at comcast.net> wrote: > > >
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
...itan) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 [7] sp_1.2-0 loaded via a namespace (and not attached): [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 gtable_0.2.0 spam_1.3-0 [7] scales_0.4.0 tools_3.2.4 munsell_0.4.3 maps_3.1.0 fields_8.3-6 colorspace_1.2-6 On Sat, Apr 9, 2016 at 7:34 PM, David W...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
..., >> Try this: >> >> arrows(-100,-140,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...
2016 Apr 09
2
Adding Two-Headed Arrow in map legend
..._US.UTF-8/en_US.UTF-8 >> >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> >> other attached packages: >> [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 >> [7] sp_1.2-0 >> >> loaded via a namespace (and not attached): >> [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 gtable_0.2.0 spam_1.3-0 >> [7] scales_0.4.0 tools_3.2.4 munsell_0.4.3 maps_3.1.0...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...;> attached base packages: > >>> [1] stats graphics grDevices utils datasets methods base > >>> > >>> other attached packages: > >>> [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 > foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 > >>> [7] sp_1.2-0 > >>> > >>> loaded via a namespace (and not attached): > >>> [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 > gtable_0.2.0 spam_1.3-0 > >>> [7] scales_0.4.0 tools_3.2.4 munsell_0...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...S.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 > [7] sp_1.2-0 > > loaded via a namespace (and not attached): > [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 gtable_0.2.0 spam_1.3-0 > [7] scales_0.4.0 tools_3.2.4 munsell_0.4.3 maps_3.1.0 fields_8.3-6 c...
2016 Apr 10
2
Adding Two-Headed Arrow in map legend
...packages: > > >>> [1] stats graphics grDevices utils datasets methods base > > >>> > > >>> other attached packages: > > >>> [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 > foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 > > >>> [7] sp_1.2-0 > > >>> > > >>> loaded via a namespace (and not attached): > > >>> [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 > gtable_0.2.0 spam_1.3-0 > > >>> [7] scales_0.4.0...
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
...t;>> attached base packages: > >>> [1] stats graphics grDevices utils datasets methods base > >>> > >>> other attached packages: > >>> [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 > >>> [7] sp_1.2-0 > >>> > >>> loaded via a namespace (and not attached): > >>> [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 gtable_0.2.0 spam_1.3-0 > >>> [7] scales_0.4.0 tools_3.2.4 munsell_0...
2016 Apr 09
0
Adding Two-Headed Arrow in map legend
...t;>> >>> attached base packages: >>> [1] stats graphics grDevices utils datasets methods base >>> >>> other attached packages: >>> [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 >>> [7] sp_1.2-0 >>> >>> loaded via a namespace (and not attached): >>> [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 gtable_0.2.0 spam_1.3-0 >>> [7] scales_0.4.0 tools_3.2.4 munsell_0.4.3...
2016 Apr 13
0
Adding Two-Headed Arrow in map legend
Hi Milu, My fault here. As I don't have the data to make the map and try out my suggestions I mixed up the x and y coordinates. Try this: par(xpd=TRUE) arrows(-19.75966,53,33.60000,53,code=3) par(xpd=FALSE) Jim On Tue, Apr 12, 2016 at 10:11 PM, Miluji Sb <milujisb at gmail.com> wrote: > Hello Jim, > > Thanks again. I am getting the two-headed arrow but I cannot seem to get
2016 Apr 10
0
Adding Two-Headed Arrow in map legend
...base packages: > > >>> [1] stats graphics grDevices utils datasets methods base > > >>> > > >>> other attached packages: > > >>> [1] countrycode_0.18 ggplot2_2.1.0 RColorBrewer_1.1-2 foreign_0.8-66 maptools_0.8-39 rworldmap_1.3-6 > > >>> [7] sp_1.2-0 > > >>> > > >>> loaded via a namespace (and not attached): > > >>> [1] Rcpp_0.12.4 lattice_0.20-33 grid_3.2.4 plyr_1.8.3 gtable_0.2.0 spam_1.3-0 > > >>> [7] scales_0.4.0 t...
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
Hello Jim, Thanks again. I am getting the two-headed arrow but I cannot seem to get the coordinates right for the arrow to appear beneath the map. These coordinates puts the arrow on the left hand side. Thanks again! Sincerely, Milu On Tue, Apr 12, 2016 at 1:15 PM, Jim Lemon <drjimlemon at gmail.com> wrote: > Hi Milu, > There is a two-headed arrow on the image you sent, and it