Description Usage Arguments Value
Plots the posterior density (to be used with MAP) when a natural cubic spline and second order differencing matrix approximation is used.
1 | PlotPostDensity(x, y, a, b, Lambdas, PriorDens, add = F, ...)
|
x |
Data points to be used as knots. |
y |
Vector of observations. |
a |
Prior information related to normal-inverse gamma distribution. |
b |
Prior information related to normal-inverse gamma distribution. |
Lambdas |
Range of smoothing parameters to plot / scan. |
PriorDens |
Prior density of penalisation parameter. |
add |
Logical. If true, plot is added to currently open graphical space. |
... |
Optional graphical parameters. |
Value of smoothing parameter that reuturned minimal density.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.