View source: R/davids_steepness.R
| davids_steepness | R Documentation |
David's scores and steepness with Bayesian flavor
davids_steepness(mat, silent = FALSE, ...)
mat |
square interaction matrix |
silent |
logical, suppress warnings (default is |
... |
additional arguments for |
a list with results of the modelling fitting, containing the following list items:
steepnessa one-column matrix with the posterior samples for steepness. Each row is one iteration.
norm_dsan matrix with posterior normalized David's scores for each individual. Each column is one individual. Each row is one iteration.
idsa character vector with individual ID codes as supplied
in mat
diagnosticsa list with information regarding sampling problems
stanfitthe actual stanfit object
matthe input matrix
data(dommats, package = "EloRating")
res <- davids_steepness(dommats$elephants, refresh = 0)
plot_steepness(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.