plot_curve: Plot a curve given posterior samples

Description Usage Arguments

View source: R/helper_functions.R

Description

Plot the posterior mean, simultaneous and pointwise 95% credible bands for a curve given draws from the posterior distribution

Usage

1
plot_curve(post_f, tau = NULL, alpha = 0.05, include_joint = TRUE)

Arguments

post_f

Ns x m matrix of Ns posterior simulations of the curve at m points

tau

m x 1 vector of observation points

alpha

confidence level for the bands

include_joint

logical; if TRUE, include joint bands (as well as pointwise)


drkowal/FDLM documentation built on May 20, 2019, 5:20 p.m.