get_trans_samp | R Documentation |
Generating a sample from the transformed marginal
get_trans_samp(marg, fun, n = 1000, trunc = FALSE, method = "linear")
marg |
a marginal from a INLA model. |
fun |
a transformation function. |
n |
a number of samples |
trunc |
TRUE: x > 0. |
method |
?inla.tmarginal method. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.