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 3 4 5 6 7 | plot_curve(
post_f,
tau = NULL,
alpha = 0.05,
include_joint = TRUE,
main = "Posterior Mean and Credible Bands"
)
|
post_f |
|
tau |
|
alpha |
confidence level for the bands |
include_joint |
logical; if TRUE, include joint bands (as well as pointwise) |
main |
text for title plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.