Learn R Programming

SIBER (version 2.1.9)

communityMetricsML: Calculate the point estimates of the Layman metrics for each community

Description

This function loops over each community, determines the centre of mass (centroid) of each of the groups comprising the community using the basic base::mean() function independently on the marginal x and y vectors, and calculates the corresponding 6 Layman metrics based on these points.

Usage

communityMetricsML(siber)

Value

A 6 x m matrix of the 6 Layman metrics of dX_range, dY_range, TA, CD, MNND and SDNND in rows, for each community by column

Arguments

siber

a siber object as created by createSiberObject().

Examples

Run this code
data(demo.siber.data)
my.siber.data <- createSiberObject(demo.siber.data)
communityMetricsML(my.siber.data)

Run the code above in your browser using DataLab