Learn R Programming

rase (version 0.2-22)

poly_center: Calculate the Polygon Center

Description

For internal use only.

Usage

poly_center(poly)

Arguments

poly
a polygon in owin.object format.

Value

If the range is only one polygon, it returns a vector of the polygon centroid coordinates. If it is more than one polygon, it first estimates the center of the polygon and then estimates the weighted mean between the polygons based on their area.

See Also

rase