Description Usage Arguments Value Author(s) Examples
Produce samples from the approximated joint posterior for the hyperparameters
1 | inla.hyperpar.sample(n, result, intern=FALSE)
|
n |
Integer. Number of samples required. |
result |
An |
intern |
Logical. If |
A matrix where each sample is a row. The contents of the column is described in the rownames.
Havard Rue hrue@math.ntnu.no
1 2 3 | r = inla(y ~ 1, data = data.frame(y=1:10), family = "t")
x = inla.hyperpar.sample(10,r)
str(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.