Description Usage Arguments Details Value Author(s) See Also
Functions for defining Barrier models as an inla rgeneric
model
1 2 3 4 5 6 | inla.barrier.pcmatern(mesh, barrier.triangles, prior.range,
prior.sigma, range.fraction=0.2)
inla.barrier.polygon(mesh, barrier.triangles, Omega=NULL)
inla.barrier.q(fem, ranges, sigma=1)
inla.barrier.fem(mesh, barrier.triangles, Omega=NULL)
|
mesh |
The mesh to build the model on, from inla.mesh.2d |
barrier.triangles |
The numerical ids of the triangles that make up the barrier area |
prior.range |
2 parameters |
prior.sigma |
2 parameters |
range.fraction |
The length of the spatial range inside the barrier area, as a fraction of the range parameter. |
Omega |
Advanced option for creating a set of permeable barriers (not documented) |
This model is described in the ArXiv preprint arXiv:1608.03787. For examples, see https://haakonbakka.bitbucket.io/btopic107.html.
inla.barrier.pcmatern
gives the (rgeneric) model object for fitting the model in INLA,
inla.barrier.polygon
gives the polygon around the barrier (mainly for plotting),
inla.barrier.q
is an internal method producing the Q matrix from a result of inla.barrier.fem,
inla.barrier.fem
is an internal method producing the Finite Element matrices.
Haakon Bakka bakka@r-inla.org
inla.spde2.pcmatern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.