concentration {agrmt}R Documentation

Measures concentration

Description

This function measures concentration in a frequency vector

Usage

concentration(V, metric=2)

Arguments

V

Vector

metric

city block metric

Details

This function measures concentration in a frequency vector in city blocks. The default metric is 2.

Value

measure of concentration

Author(s)

Clem Aeppli

Examples

# Sample data
V <- c(30,40,210,130,530,50,10)
concentration(V)

[Package agrmt version 1.42.4 Index]