powered by
hierarchy steepness based on David's scores
steepness(mat, nrand = 0, Dij = TRUE, returnfig = FALSE)
square dominance matrix
numeric, the number of runs for the randomization test
logical, by default TRUE i.e. corrected for number of interactions in a dyad, otherwise simple proportion of wins/losses
TRUE
logical, should a figure be produced that shows the distribution of expected steepness
a named vector, with the observed steepness, the expected steepness, p-value and the number of randomizations used
devries2006EloRating
# NOT RUN { data(bonobos) steepness(bonobos) # no randomization test # with randomization test steepness(bonobos, nrand = 100) # }
Run the code above in your browser using DataLab