Displaying 20 results from an estimated 2000 matches similar to: "alaska map?"
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)
2010 Nov 19
1
Color Alaska in USA map
Hello:
I have a problem when I tried to color the USA map with different colors. The following is my data (I only used the second column of data):
alaska, 1, 2
Hawaii, 0, 0
USA, 5, 5
And here is my code:
library("latticeExtra")
library("mapproj")
state<-read.table("C:\\usaclass.txt",sep=",")
state
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
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
2004 Apr 05
1
Drawing maps in R?
What tools and documentation exist for producing maps and working
with polygon and polylist objects in R beyond the following:
* Packages maps, mapproj, maptools, and mapdata.
* Becker and Wilks (1993, 1995), listed as references in the
documentation on the "map" function.
Thanks,
Spencer Graves
2003 Nov 05
3
map does not display maps, MacOSX
Hi,
I installed the maps and mapdata libraries on my R-1.8.0 on
MacOSX 10.2.8 (jaguar on a powerbook G4), and failed to make the
map function work properly:
R : Copyright 2003, The R Development Core Team
Version 1.8.0 (2003-10-08)
[...]
> library(maps)
> map()
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file
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 Nov 03
10
USA map
R users,
In S, there was a function called usa() that
would draw the map of the United States, plus
it had other options for graphics. I have looked
but I can't find the equivalent in R. Is there one?
Thanks,
Jason
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]
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)
2011 May 03
2
Constructing a histogram with words as labels as height as frequency?
Hi all.
I need to construct a plot showing words on the x-axis and how many times
each word was given as a verbal response on the y-axis as solid bar
(frequency). Is there a convenient function to do this in R? I considered
hist(), but I'm not sure how to construct the text file. Example:
apple, 2
pear, 14
house, 1
beach, 5
computer, 15
Thanks,
~Caitlin
[[alternative HTML version
2011 Aug 08
2
Creating a scatterplot with sequential dates on x-axis?
Hi all.
I need to plot 30 values and I'd like the x-axis to have 30 dates values,
e.g., 5/1/2011, 5/2/2011, etc. so an observer could see how the values
correspond as the month progresses.
Is there a convenient function I could use? I considered creating two
vectors, x and y, then simply plotting those.
Thanks,
~Caitlin
[[alternative HTML version deleted]]
2012 Feb 07
2
units for mapproject() function result
Does anyone know what the units are for projected coordinates obtained
using mapproj's mapproject function with an Albers projection? Thanks for
any and all help!
Buck Stockhausen
***************************************************
* Dr. William T. Stockhausen *
***************************************************
* Resource Ecology and Fisheries Management *
*
2012 Mar 30
2
Problem loading package 'JGR' using R-2.15.0 (Win32).
Hi all.
Upon attempting to load the 'JGR' package, on a Win32 machine (SP3), a
pop-up message appeared stating that R had encountered a problem and needs
to close. Has anyone else encountered this?
Thanks.
~Caitlin
[[alternative HTML version deleted]]
2011 Mar 18
1
Help with setting the y-axis in a plot.
Hi all.
I'm working on an assignment for a psychology class and I am not sure how to
adjust the y-axis so it displays the range: 0, 5, 10, 15
The code below is almost ideal:
lsd = c(3, 5, 13)
mar = c(1, 2, 3)
g_range <- range(0, lsd, mar)
plot(lsd, type="o", col="blue", ylim=g_range,
axes=FALSE, ann=FALSE)
axis(1, at=1:3,
2006 Jun 13
2
ANN: Alaska.rb - Polar bears, igloos and sled dogs... oh my!
Is anyone else here from Alaska interested in a ruby users group to meet in
Anchorage once a month? It might be a long shot but I thought i''d put the
possibility of such a group out there if others are interested.
If so, we''ll coordinate some times that work.
Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jan 19
1
Alaska and Hawaii map data?
I can plot each county of the contiguous 48 states or all of them using
variations of
map('county', region=c('wisconsin' . . . .)
in the maps package. I was wondering whether similar data was available for
Alaska and Hawaii? I was also wondering if there was a database that listed
FIPS codes for the counties in Alaska and Hawaii. Similar to 'county.fips'.
Thank
2011 Aug 30
2
Plotting multiple vectors in one window?
Hi all.
Using the following code:
plot(bsa, abs, col='blue', pch=16, xlim=c(0, 25), ylim=c(0.0, 1.0), xlab =
expression(paste(BSA, " (", mu, "g)", sep="")), ylab=expression(A[595]))
plot(unknown1, abs2, col='blue', pch=16, xlim=c(0, 25), ylim=c(0.0, 1.0),
xlab = expression(paste(Unknown_1, " (", mu, "g)", sep="")),
2008 Aug 12
1
separate maps in one figure
My aim is to create a figure consisting of three maps: Alaska in the
upper left corner, the 48 contiguous US states in the center right, and
Hawaii in the lower left corner. In some ways the figure I'm trying to
create is analogous to figure 1.5 in Paul Murrell's excellent "R
Graphics", which combines a map of New Zealand with a map of the world.
I tried adapting the code