[R-sig-Geo] R Help

Hugo Costa hugo@gco@t@ @ending from gm@il@com
Thu Dec 20 23:08:41 CET 2018


Package rgeos is a good starting point.

Esu Esu via R-sig-Geo <r-sig-geo using r-project.org> escreveu no dia quinta,
20/12/2018 à(s) 21:58:

> Dear All,
> I am new to R-programming. I have question if anyone can help me with:Q:
> how can I create functions in R to compute the area (A), centroid (Cx and
> Cy) and perimeter (P) of a polygon list .  I want to write R functions to
> compute these quantities for individual polygons, as well asan overall
> function to take a polygon list and return a data frame with four columns
> and the samenumber of rows as polygons in the list.  Each quantity
> should correspond to each column. it is (sp) class object.
> Hope to find any suggestion or answer
>  RegardsMuhsien
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list