powered by
David's scores and steepness with Bayesian flavor
davids_steepness(mat, silent = FALSE, ...)
a list with results of the modelling fitting, containing the following list items:
steepness
a one-column matrix with the posterior samples for steepness. Each row is one iteration.
norm_ds
an matrix with posterior normalized David's scores for each individual. Each column is one individual. Each row is one iteration.
ids
a character vector with individual ID codes as supplied in mat
mat
diagnostics
a list with information regarding sampling problems
stanfit
the actual stanfit object
the input matrix
square interaction matrix
logical, suppress warnings (default is FALSE)
FALSE
additional arguments for sampling()
sampling()
data(dommats, package = "EloRating") res <- davids_steepness(dommats$elephants, refresh = 0) plot_steepness(res)
Run the code above in your browser using DataLab