PlotFun | R Documentation |
This function plots the credible bounds of the denoised signal.
PlotFun(data, p = c(0.025, 0.5, 0.975), band.type = "pointwise", main = "", col = "blue", type = "l", ylab = "", xlab = "", ylim = NULL)
data |
Matrix of posterior samples. |
p |
Vector with the lower, center and upper quantile. |
band.type |
Type of credible intervals. The options are:
|
main |
The main title of the plot. |
col |
The color of the point estimate. |
type |
The type of line of the point estimate. |
ylab |
The label of the y-axis. |
xlab |
The label of the x-axis. |
ylim |
The range of the y-axis. |
A plot.
data <- wavethresh::DJ.EX(n = 512, noisy = TRUE, rsnr = 5)$doppler W <- DWT(data) ans <- Denoise(W) denoised.data <- InvDWT(ans) PlotFun(denoised.data) PlotFun(denoised.data, band.type = "both")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.