Learn R Programming

OasisR (version 1.0.0)

RelDivers: A function to compute multigroup relative diversity index

Description

Multigroup index based on Simpson's interaction index ISimpson

Usage

RelDivers(x)

Arguments

x
- an object of class matrix (or that can be coerced to that class), where each column represents the distribution of a population group, within spatial units. The number of columns should be greater than one (at least two population groups are require

Value

  • Multigroup relative diversity index

References

Carlson S. M. (1992) Trends in race/sex occupational inequality: conceptual and measurement issues. Social Problems, 39, p. 269-290

See Also

Other multigroup exposition indices: PIsol Other multigroup indices: HShannon, JPielou, ISimpson, GiniMulti, DMulti

Examples

Run this code
x <- slot(GreHSize, 'data')[ ,3:5]
RelDivers(x)

Run the code above in your browser using DataLab