Skip to content
Back to formatted view

Raw Message

Message-ID: <49D9EEE2.4020305@carleton.edu>
Date: 2009-04-06T12:00:34Z
From: Laura Chihara
Subject: package: maps and spatstat question

I would like to use the output from the map function
in the package maps for use in, say, the spatstat
package. I don't quite understand the coordinates
for the border of the state:
Example:

library(maps)
iowa<-map("region","iowa)

x<-iowa$x
y<-iowa$y

There are NA's and duplicated coordinates.
What would I need to do to use this in the
spatstat owin command?
owin(poly= ?)

Thank you.

-- Laura

************************************************
Laura Chihara
Professor of Mathematics  507-222-4065 (office)
Dept of Mathematics       507-222-4312 (fax)
Carleton College
1 North College Street
Northfield MN 55057