plot empirical cohort-based or cumulative mean vs posterior mean
Source:R/plot.R
plot_mean_posterior_pred.Rd
plot empirical cohort-based or cumulative mean vs posterior mean
Usage
plot_mean_posterior_pred(
summarised_mean,
obs_mean,
alpha = 0.3,
mean = FALSE,
ribbon = TRUE,
ribbon_bounds = c(0.05, 0.95),
...
)
Arguments
- summarised_mean
Summarised mean as produced by
summarise_variable()
- obs_mean
...
- alpha
...
- mean
Should the mean be plotted? Logical, defaults to
FALSE
.- ribbon
Should the quantile ribbon be plotted? Logical, defaults to
TRUE
.- ribbon_bounds
Bounds of the quantile ribbon. Defaults to
c(0.05, 0.95)
which corresponds to the 90% credible interval.- ...
Additional arguments passed to
ggplot2::aes()
.
See also
Other plot:
calculate_cohort_mean()
,
calculate_truncated_means()
,
plot_cases_by_obs_window()
,
plot_censor_delay()
,
plot_cohort_mean()
,
plot_empirical_delay()
,
plot_recovery()
,
plot_relative_recovery()