Skip to contents

G=0 perfectly even, G=1 perfectly concentrated. Used for the neighbourhood-concentration callable below; exposed because tests and downstream code may want it directly.

Usage

morie_tps_gini_concentration(x)

Arguments

x

Numeric vector (e.g. per-spatial-unit incident counts).

Value

A scalar Gini coefficient in [0, 1] (or NA when input is empty).