similar to: Drawing maps in R?

Displaying 20 results from an estimated 2000 matches similar to: "Drawing maps in R?"

2005 Jul 25
2
alaska map?
Hello, I've installed the Becker and Wilks maps, mapdata, and mapproj packages so I can begin to try these out for some work I need to do on a map of Alaska but I don't know where to find a map of Alaska. Has anyone solved this already and could help? Thanks very much in advance, Caitlin
2005 Feb 09
1
FW: Drawing maps of UK
Hi Guys Thanks for this! As I am a beginner, I bet I'm running into some really basic problems. Using the example from the Map2poly function in maptools: try <- read.shape("euadmll.shp") mappolys <- Map2poly(try) # this produces 14 warnings() of the type: # 1: level 2 circularity at 62 in: .mtlbuild(.mtafters(r1), rD) # etc # 14: From next release, default hole handling
2005 Jul 13
5
maps drawing
Hello, is there a package in R that would allow map drawing: coastlines, country/state boundaries, maybe topography, rivers etc? Thanks for any guidance, Mark
2004 Sep 24
2
maps for Russian Federation
Dear all, I am interested in plotting maps visualizing spatial statistics in an aggregated fashion, according to administrative boundaries. Partially, I want to visualize some spatial data for administrative units (autonomous republics, oblasts, krays) of the Russian Federation on a geographical map. I have found the maps package (and related) and would like to use this package e.g. in a kind
2004 Sep 22
2
dot density maps
Dear All, In the moment i'm using the map and maptools package to read shapefiles and display the maps. I'm looking for the possibility to draw points (randomly positioned or positioned according to a grid) into the polygons instead of filling the polygons with colors. For example: a map (shapefile) with 10 countries, 15 points in the polygon of country A, 20 points in the
2011 Jul 12
1
installation of package 'mapproj' had non-zero exit status
## Hello.. I have asked a similar question, but this is not fixed as before. ## I am running the following using Ubuntu OS: R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) ## when I do this: > install.packages("mapproj", dependencies=T) ## I get this: Installing package(s)
2006 Nov 30
2
*** caught segfault *** error
Dear R users, I use R 2.4.0 on an iMac running Mac OS X 10.4.8, with a 2.16GHz Intel Core 2 Duo and 2GB 667 MHz DDR2 SDRAM. > sessionInfo() R version 2.4.0 (2006-10-03) i386-apple-darwin8.8.1 locale: es_ES.UTF-8/es_ES.UTF-8/es_ES.UTF-8/C/es_ES.UTF-8/es_ES.UTF-8 attached base packages: [1] "methods" "stats" "graphics" "grDevices"
2011 Jul 26
2
R 2.13.1 for Windows: error when loading (some) packages
I am using the latest version of R 2.13.1 and need to load the following packages; library(maps) library(mapdata) library(mapproj) library(lattice) library(tgp) library(spatstat) library(akima) I get the follwing error when loading the packages, "maps", "mapdata" and "mapproj" Error: package 'maps' is not installed for 'arch=i386' Error: package
2003 Dec 01
1
Re: using shapefile as owin
My sincerest apologies, as this is a very elementary problem, but I have searched through archives and FAQs and on the web, and I am at the end of my own resources. I need to do analysis of a spatial point process occuring with four counties, using spatstat. I've had no trouble importing the shapefiles, but I can't seem to figure out what I need to do in order to use the boundary as an
2004 Feb 26
1
writing polygons/segments to shapefiles (.shp) or other A rcGIS compatible file
The main limitation of the shapefiles package that I put together is that it does not create shapefiles from R objects - rather it only writes shapefiles that have been read into R and manipulated within the constraints of the existing file structure. By this I mean that for example you can change the coordinates of points and write them back out. Or you can add a bunch of blank columns in the
2008 Nov 07
1
help with maps : center on the dateline
Hi, I'm trying to plot a map of the pacific ocean, centered on the dateline, using the maps package. library(maps) # Basic library to draw maps library(mapdata)# Library with specialized maps library(mapproj) map(database = "world", fill = TRUE, col = 1, plot = TRUE,add=F, xlim = c(120,300), ylim = c(-20,40)) I tried several different combinations of coordinates, but whatever
2018 Feb 05
1
Concatening two maps/shapefiles...
Dear All, I'm new with mapping and using shapefiles in R. I use the version: R 3.2.1 GUI 1.66 with Snow Leopard Mac OS (6956) I want to build a map of the countries of Africa, in order to add points of collecting species of beetles, for later publishing. library(maptools) library(mapdata) When I put the extreme coordinates of Africa, the map began only at longitude 0? and thus lacks the
2006 Jan 07
1
maptools, write.polylistShape
Dear Roger, I am trying to use the write.polylistShape() function of maptools for the first time and realize that it handles list of polygons of class 'polylist'. However, it seems that no as.polylist() function exist in the package. The question behind that is: in your opinion, which would be the best way to convert a list of matrix of polygon nodes coordinates into an object of
2006 Feb 28
3
Bounding Box in pdf files
This is probably a faq but I have not been able to find a solution. I create a pdf file in R but latex complains that it can't find the bounding box. Here is an example: > pdf(file="test.pdf", onefile=FALSE, width=8,height=8) > plot(1:10) > dev.off() X11 2 > sessionInfo() R version 2.2.1, 2005-12-20, sparc-sun-solaris2.9 attached base packages: [1]
2005 May 22
2
Maps, Eastern Europe
Dear all, I would like to employ a European map in a presentation. My idea was to use: library(mapdata) map("worldHires", c("Austria", "Switzerland", "Germany")) where I include all countries from my analysis as a vector of character strings like in the example above. Unfortunately, I was unable to specify the Baltic States (Latvia, Lithuania, Estonia) or
2006 Apr 27
2
add city and point in the map
Dear Helpers: I'm trying to use packages "maps" and "mapdata" (see blow) to display the research resutls on map (Mid-Atlantic region). In particular, I need to mark a number of points in the map by giving their latitude and longitude information. For instance, I would like to mark a point on (long, lat) =(75.56027, 39.09271). Also, I need to mark several cities that I
2007 Nov 13
2
map - mapproj : problem of states localisation
Hi R-user, I am new with R and I have a problem with the map and mapproj fonctions : with the following code : >test_proj=mapproject(LONG_d01_vec_t1, LAT_d01_vec_t1, projection="lambert", parameters=c(30,60)) >longitude_vec=test_proj$x >latitude_vec=test_proj$y >longitude_mat=matrix(longitude_vec,ncol=e_sn_d01) >latitude_mat=matrix(latitude_vec,ncol=e_sn_d01)
2008 Jul 08
2
attributing values to dataframe positions following eval
Hi everybody, I've been looking around, but can't seem to find the answer. I get a list of names (which vary, so I never know them in advance), and transform them into variables, each of which is a dataframe, using assign: polyList <- c("rs123", "rs124", "rs555", "rs000") numPoly <- length(polyList) for (k in 1:numPoly) {
2003 Jun 13
2
maps library for R?
Hi there, Does it already exist a library in R to draw maps (something like a Generic Mapping Toolbox, http://gmt.soest.hawaii.edu/ port). I've seen in an old R-help that Ross Ihaka once tried to port the S-plus map library (http://maths.newcastle.edu.au/~rking/R/help/99b/0832.html ). Anybody know if this package is available somewhere or if there is somebody developing a Mapping package
2008 Aug 04
2
thematic map of USA
My goal is to prepare a thematic map of the US, with states shaded according to their values for a variable of interest. I would like to include an inset for Alaska in the upper left and an inset for Hawaii in the lower left. If possible, I'd like to use Albers conic projection, or something similar. Thus far I have tried using the maps package with its state database (which omits