sphericity: Approximated sphericity of a set of points

Description Usage Arguments Value Author(s) Examples

View source: R/shape.R

Description

Given a set of cartesian coordinates, this function approximates the sphericity of the set by calculating the bivariate 95 ellipse of the set.

Usage

1
sphericity(x, y)

Arguments

x

A vector of x coordinates.

y

A vector of y coordinates.

Value

A single numeric value corresponding to the ratio between the minor and major axis of the bivariate 95 close to 1 indicates that the set is approximately circular; a value close to 0 indicates that the set is strongly elongated.

Author(s)

Simon Garnier, [email protected]

Examples

1
# TODO

swarm-lab/swaRm documentation built on June 22, 2018, 5:21 p.m.