R/plot_interaction_prob.R
plot_interaction_prob.Rd
Plot a heatmap of average interaction probabilities
plot_interaction_prob(post = NULL)
Data frame containing the posterior probabilities, as generated
from get_posterior()
.
A ggplot object
if (FALSE) { # interactive()
data(web)
dt <- prepare_data(mat = web, sampl.eff = rep(20, nrow(web)))
fit <- fit_model(dt, refresh = 0)
post <- get_posterior(fit, dt)
plot_interaction_prob(post)
}