cluster_ggplots.Rd
This function creates a rank-clustering probability matrix ggplot using MCMC chains from a Rank-Clustered BTL distribution.
cluster_ggplots(mcmc, object_names = NULL)
A ggplot(s) of the pairwise rank-clustering posterior probabilities.
Pi <- rBTL(I=30,omega=c(4^2,4^2,4^1,4^1,4^0))
mcmc <- mcmc_RCBTL(Pi=Pi,J=5,a_gamma=5,b_gamma=3,lambda=2,num_iters=200,nu_reps=1,chains=2,seed=1)
#> [1] "Estimating chain 1 of 2."
#> [1] "Estimating chain 2 of 2."
cluster_ggplots(mcmc,object_names=paste0("Object ",1:5))