Plot heatmap of interaction probabilities
Source:R/plot_interaction_prob.R
plot_interaction_prob.Rd
Plot a heatmap of average interaction probabilities
Arguments
- post
Data frame containing the posterior probabilities, as generated from
get_posterior()
.
Examples
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)
}