Closed osorensen closed 1 year ago
I've now implemented a heat_plot()
function which does this. It uses the consensus ranking to order the items along the x-axis.
library(BayesMallows)
model_fit <- compute_mallows(potato_visual, nmc = 10000, seed = 1)
model_fit$burnin <- 1000
heat_plot(model_fit)
# Items are ordered along the horizontal axis according to the ordering
# returned by compute_consensus, whose default argument is type="CP".
heat_plot(model_fit, type = "MAP")
Created on 2023-03-10 with reprex v2.0.2
Closed by #288
Good suggestion from Marta: add a function to create heat plots as in Figure 5 of the JMLR paper.