[R] importing shapefiles into spatstat

Don MacQueen macq at llnl.gov
Thu Dec 29 22:41:47 CET 2005


Go to CRAN, to the "Packages" page, do a simple search on the text "shape".
It will quickly lead you to
   maptools	tools for reading and handling shapefiles
 From there, I guess you'll have to extract the polygons from the 
structure that is returned by the function(s) in the maptools package.
-Don



At 1:59 PM -0600 12/29/05, Charlotte Reemts wrote:
>Dear R users,
>I am using spatstat to analyze point patterns (tree locations).  I would
>like to import the shapefile with the study area polygons (six total) into R
>and use it to create the window for the spatstat analysis.  I do not simply
>want to use a rectangle because the study areas spread out over 40000 ha.
>Any suggestions would be greatly appreciated.
>Thanks,
>Charlotte Reemts
>
>
>Charlotte Reemts
>Vegetation Ecologist
>The Nature Conservancy--Fort Hood (TX) Project
>P.O. Box 5190
>Fort Hood, TX 76544-0190
>254-286-6745
>fax: 254-288-5039
>CReemts at tnc.org
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA




More information about the R-help mailing list