Learn R Programming

psda (version 1.4.0)

pmean: Polygonal empiric mean

Description

Compute the polygonal empirical mean for polygonal variable.

Usage

pmean(polygons)

Arguments

polygons

A list of matrices of dimension l x 2, where l represent number of sides polygon.

Value

The method returns a vector containing the symbolic polygonal empirical mean in first and second dimension, respectively.

Examples

Run this code
# NOT RUN {
x <- psim(10, 10) #simulate 10 polygons of 10 sides
pmean(x)
# }

Run the code above in your browser using DataLab