[R] Hawaii in map() function

2004-09-05 Thread Michelle Bell
I would like to use the map function for the continental US plus Hawaii, 
but can only find the library files for the continental US. Suggestions?
Thank you.

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Hawaii in map() function

2004-09-05 Thread Christophe Declercq

 From: Michelle Bell [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, September 05, 2004 9:08 PM
 Subject: [R] Hawaii in map() function


 I would like to use the map function for the continental US plus Hawaii, 
 but can only find the library files for the continental US. Suggestions?

You can find Hawaii in the world map database

You could try:

 library(map)
 map(world, c(USA, Hawaii))
 
which has perhaps more than what you want, or try something like:

 map(usa, xlim=c(-170,-60), ylim=c(15,55))
 map(world, Hawaii, add=TRUE)

Christophe

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html