[R] package: maps and spatstat question
Laura Chihara
lchihara at carleton.edu
Mon Apr 6 14:00:34 CEST 2009
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
More information about the R-help
mailing list