View source: R/helper_functions.R
Plot the posterior mean, simultaneous and pointwise 95% credible bands for a curve given draws from the posterior distribution
1 2 | plot_curve(post_f, tau = NULL, alpha = 0.05, include_joint = TRUE,
main = "Posterior Mean and Credible Bands", ylim = NULL)
|
post_f |
|
tau |
|
alpha |
confidence level for the bands |
include_joint |
logical; if TRUE, include joint bands (as well as pointwise) |
main |
title text (optional) |
ylim |
range of y-axis (optional) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.