Description Usage Arguments Value Examples
To print this object you should remove the last column PosteriorRank since it contain the whole posterior distribution for each case
1 | get_rank_of_players(bpc_object, n = 1000)
|
bpc_object |
a bpc object |
n |
Number of times we will sample the posterior |
a data frame. This data frame contains the median of the rank, the mean, the standard deviation and column with a list containing all the posterior values for the rank
1 2 3 4 5 6 7 8 9 | m<-bpc(data = tennis_agresti,
player0 = 'player0',
player1 = 'player1',
result_column = 'y',
model_type = 'bt',
solve_ties = 'none')
rank_m<-get_rank_of_players(m,n=100)
rank_table <- dplyr::select(rank_m,-MeanRank, -StdRank,-PosteriorRank)
print(rank_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.