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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.