Hi All,
I am trying to export a shapefile of a minimum convex polygon, but I receive the following error message:
Error: is(x, "SpatialPolygonsDataFrame") is not TRUE
I was able to successfully get my minimum convex polygon and plot it in R using the following code:
PID208 <- read.csv(file="PID208.csv", header = TRUE, sep = ",")
head(PID208)
xy<- SpatialPoints(PID208 [2:3])
mcp(xy, percent=95)
mcp(xy, percent=95)$area
plot(mcp(xy,percent=100))
Anybody know what I might be missing to successfully export the file for use in GIS?
Thanks!
Kyle
Thanks!
Kyle
--
-- ======================================================================
You received this message because you are subscribed to the "GIS In Ecology Forum" discussion group (http://www.gisinecology.com/GIS_in_Ecology_forum.htm).
To control how often you get emails from this group, go to http://groups.google.com/group/gis-in-ecology-forum/subscribe (you will need to log on to get to this page).
To post to this group, either log onto the group's home page or send an email to
gis-in-ecology-forum@googlegroups.com.
The rules for posting to this group can be found here: http://groups.google.com/group/gis-in-ecology-forum/browse_thread/thread/df31a0822742203f#.
To unsubscribe from this group, email:
gis-in-ecology-forum+unsub...@googlegroups.com
All information on this forum is provided on an 'as is' basis. GIS In Ecology is not responsible for checking the accuracy or suitability of any posting or response.
======================================================================
---
You received this message because you are subscribed to the Google Groups "GIS In Ecology Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gis-in-ecology-forum+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Jeffrey S. Evans, PhD., | Senior Landscape Ecologist
The Nature Conservancy | Global Lands Science Team
Affiliate Assistant Professor | Zoology & Physiology | University of Wyoming
Laramie, WY | jeffre...@tnc.org | (970) 672-6766