calculate David's scores from an interaction matrix
Usage
DS(interactionmatrix, prop = c("Dij", "Pij"))
Value
a data.frame with columns ID, DS (David's scores) and normDS (normalized David's scores)
Arguments
interactionmatrix
square interaction matrix with winner in rows and losers in columns, for example the output from creatematrix
prop
the type of dyadic win proportion to be use. By default corrected for number of interactions in a dyad (prop="Dij"), otherwise the raw proportion (prop="Pij")