Learn R Programming

BayesMallows (version 1.1.0)

plot_rho_posterior: Plot the posterior for rho for each item

Description

Plot the posterior for rho for each item

Usage

plot_rho_posterior(output, nmc, burnin, C, colnames = NULL, items = NULL)

Arguments

output

input

nmc

Number of Monte Carlo samples

burnin

A numeric value specifying the number of iterations to discard as burn-in. Defaults to model_fit$burnin, and must be provided if model_fit$burnin does not exist. See assess_convergence

C

Number of cluster

colnames

A vector of item names. If NULL, we generate generic names for the items in the ranking.

items

Either a vector of item names, or a vector of indices. If NULL, five items are selected randomly.