steepness | R Documentation |
hierarchy steepness based on David's scores
steepness(mat, nrand = 0, Dij = TRUE, returnfig = FALSE)
mat |
square dominance matrix |
nrand |
numeric, the number of runs for the randomization test |
Dij |
logical, by default |
returnfig |
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
Christof Neumann
devries2006EloRating
data(bonobos)
steepness(bonobos) # no randomization test
# with randomization test
steepness(bonobos, nrand = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.