plot_fitted | R Documentation |
Plot the BTF posterior means with posterior credible intervals (pointwise and joint), the observed data, and true curves (if known)
plot_fitted(
y,
mu,
postY,
y_true = NULL,
t01 = NULL,
include_joint_bands = FALSE
)
y |
the |
mu |
the |
postY |
the |
y_true |
the |
t01 |
the observation points; if NULL, assume |
include_joint_bands |
logical; if TRUE, compute simultaneous credible bands |
simdata = simUnivariate(signalName = "doppler", T = 128, RSNR = 7, include_plot = FALSE)
y = simdata$y
out = btf(y)
plot_fitted(y, mu = colMeans(out$mu), postY = out$yhat, y_true = simdata$y_true)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.