Learn R Programming

socialh (version 0.1.1)

improved_index: Improved linearity index

Description

Function to obtain the linearity index improved by de Vries (1995).

Usage

improved_index(dmatrix, smatrix)

Value

h' index

Arguments

dmatrix

dyatic matrix

smatrix

sociomatrix

Author

Julia P. S. Valente, Matheus Deniz, Karolini T. de Sousa.

Details

The function improved_index is obtained by the following expression: h' = h(6/(n^3-n)*u), where "h'" is the linearity index, "n" is the total of animals, "u" is the unknown or tied relationships.

References

de Vries, H. (1995). An improved test of linearity in dominance hierarchies containing unknown or tied relationships. Animal Behaviour, 50(5), 1375–1389.

See Also

dmatrix, smatrix