| heat_plot | R Documentation |
Generates a heat plot with items in their consensus ordering along the horizontal axis and ranking along the vertical axis. The color denotes posterior probability.
heat_plot(model_fit, ...)
model_fit |
An object of type |
... |
Additional arguments passed on to other methods. In particular,
|
A ggplot object.
Other posterior quantities:
assign_cluster(),
compute_consensus(),
compute_posterior_intervals(),
get_acceptance_ratios(),
plot.BayesMallows(),
plot.SMCMallows(),
plot_elbow(),
plot_top_k(),
predict_top_k(),
print.BayesMallows()
set.seed(1)
model_fit <- compute_mallows(
setup_rank_data(potato_visual),
compute_options = set_compute_options(nmc = 2000, burnin = 500))
heat_plot(model_fit)
heat_plot(model_fit, type = "MAP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.