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

View source: R/communityMetricsML.R

communityMetricsMLR Documentation

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)

Arguments

siber

a siber object as created by createSiberObject().

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

Examples

data(demo.siber.data)
my.siber.data <- createSiberObject(demo.siber.data)
communityMetricsML(my.siber.data)


SIBER documentation built on Oct. 19, 2023, 5:09 p.m.