Description Usage Arguments Value
View source: R/define_summary.R
This function produces a plot of the posterior distributions of the mixing parameters of the VP model: gamma and phi for model (1); gamma, phi, psi1 and psi2 for model (2)
1 | vp.plotpost(inla.res, vp.model = "striid", nsim = 10000, ...)
|
inla.res |
inla output |
vp.model |
character indicating the type of VP model; either 'str' or 'striid'; the former is model (1) in the VP paper, the latter is model (2) |
nsim |
number of samples drawn from the posterior, to pass on to inla.posterior.sample() |
... |
It returns a plot with the posterior distributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.