inla.cgeneric.sample | R Documentation |
cgeneric
model component from an inla
output, like
inla::inla.iidkd.sample()
.Draw samples from hyperparameters of a cgeneric
model component from an inla
output, like
inla::inla.iidkd.sample()
.
inla.cgeneric.sample(
n = 10000,
result,
name,
model,
from.theta,
simplify = FALSE
)
n |
integer as the sample size. |
result |
an |
name |
character with the name of the model component in the set of random effects. |
model |
a |
from.theta |
a function to convert from theta to the desired output for each sample. |
simplify |
logical (see ?sapply). |
matrix (if n>1 and length(from.theta)>1) or numeric vector otherwise.
prior.cgeneric()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.