Learn R Programming

dplR (version 1.4.9)

gini.coef: Calculates the Gini Coefficient

Description

This function calculates the Gini coefficient on raw or detrended ring-width series.

Usage

gini.coef(x)

Arguments

x
a vector.

Value

  • the Gini coefficient.

Details

This calculates the Gini coefficient of inequality which is used as an all-lag measure of diversity in tree-ring records - typically detrended series. Lower values indicate lower diversity. The use of the Gini coefficient in dendrochronology is described by Biondi and Qeadan (2008). See Handcock and Morris (1999) for more information.

References

Biondi, F. and Qeadan, F. (2008) Inequality in Paleorecords. Ecology. 89(4):1056-1067. Handcock. M.S. and Morris, M. (1999) Relative Distribution Methods in the Social Sciences. Springer-Verlag. ISBN: 0387987789.

See Also

rwl.stats

Examples

Run this code
data(ca533)
  ca533.rwi <- detrend(rwl = ca533, method = "ModNegExp")
  ca533.crn <- chron(ca533.rwi, prefix = "CAM")
  gini.coef(ca533.crn)

Run the code above in your browser using DataLab