You can create a SpatialPolygons object from a matrix. See help file for
`SpatialPolygons-class` and sp  vignette (page 7):
http://cran.r-project.org/web/packages/sp/vignettes/intro_sp.pdf

Cheers,
Roman



On Tue, Sep 3, 2013 at 12:25 PM, Francesco Carotenuto <
carotenuto_francesco@yahoo.it> wrote:

> Hi, is there a way to convert an "ashape" object (object class of package
> alphahull) into a spatial polygon? I need only the alpha hull object (the
> external contour) and not the delaunay triangles. If not, is there a way to
> simply create a single spatial polygon from a matrix containing xy
> coordinates?
> Thanks
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

