Description Usage Arguments Value Author(s) Examples
Compute a ggplot
of the Density associated with the
Posterior Predictive Distribution (PPD)
1 | Pred_Dens_ggPlot(year, data_ppd, ylim = c(0.01, 0.55), xlim = c(27.5, 36))
|
year |
numeric value giving the year for which we want to compute the predictive density |
data_ppd |
numeric matrix or df of size [n,p] containing the posterior predictive
samples, where |
ylim |
and |
a ggplot
Antoine Pissoort, antoine.pissoort@student.uclouvain.be
1 2 3 | # For the PPD density plot of the year 2026 :
gg4 <- PissoortThesis::Pred_Dens_ggPlot(2026, repl2)
# where repl2 is the matrix containing the predictive samples (see Bayes_own_gev.R)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.