Plot heatmap of predicted counts

plot_counts_pred(pred.df = NULL, ...)

Arguments

pred.df

A data frame containing the predicted counts, as generated by predict_counts()

...

Further arguments for network.tools::plot_web_heatmap().

Value

A ggplot object

Examples

if (FALSE) { # interactive()
data(web)
dt <- prepare_data(mat = web, sampl.eff = rep(20, nrow(web)))
fit <- fit_model(dt, refresh = 0)
pred.df <- predict_counts(fit, dt)
plot_counts_pred(pred.df)
plot_counts_pred(pred.df, sort = FALSE)
}