dvalue {socialh}R Documentation

Dominance value

Description

Function to obtain the dominance value, social rank and hierarchy from Sij dyadic relationship matrix.

Usage

dvalue(dmatrix)

Arguments

dmatrix

Sij dyadic relationship matrix

Details

The social categories (rank and hierarchy) are define according to dominance value and is obtained by the following expression: SH =(|Distance between highest(+ X) and lowest(- Y) dominance value| + 1) /(2 or 3), where "SH" is the rank or hierarchy. The rank (high and lower) and social category (dominant, intermediate and subordinate) are determined assigned according to dominance value. The choice for divide the group by rank or social category depends of the study objective. Both rank and social category are estimated by the distance between the highest (+ X) and the lowest (- Y) dominance value, plus 1 (corresponds to the dominance value zero), which determines the number of points in the range.

Value

dominance value, social rank and social hierarchy

Author(s)

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

References

Coimbra, P. A. D., Machado Filho, L. C. P., & Hötzel, M. J. (2012). Effects of social dominance, water trough location and shade availability on drinking behaviour of cows on pasture. Applied Animal Behaviour Science, 139(3-4), 175-182.

Examples


x <- matrix(c(0,-1,1,0,-1,1,0,0,1,0,-1,-1,0,1,0,0,
             -1,1,0,-1,1,-1,0,0,0,1,1,0,-1,0,0,0,
             1,0,-1,1,0,0,1,0,-1,-1,1,0,0,0,0,1,
             0,0,0,0,-1,0,0,0,0,0,0,0,0,-1,0,0),
             nrow=8,byrow=TRUE,)
             
colnames(x) <- c(1,2,3,4,5,6,8,9)

rownames(x) <- c(1,2,3,4,5,6,8,9)

dominance <- dvalue(x)

print(dominance)


[Package socialh version 0.1.1 Index]