Description Usage Arguments Value Author(s) See Also Examples
Query information about an inla.mesh object.
1 | inla.mesh.query(mesh, ...)
|
mesh |
An |
... |
Query arguments.
|
A list of query results.
Finn Lindgren finn.lindgren@gmail.com
inla.mesh.create
,
inla.mesh.segment
, inla.mesh.lattice
1 2 3 4 5 6 7 8 9 10 | loc = matrix(c(0.1,0.15),1,2)
lattice = inla.mesh.lattice(dims=c(10,10))
mesh = inla.mesh.create(loc=loc, lattice=lattice, extend=FALSE)
vt = which(inla.mesh.query(mesh,
vt.neighbours=list(mesh$idx$loc,
4:6))$vt.neighbours)
mesh2 = inla.mesh.create(mesh$loc, tv=mesh$graph$tv[vt,,drop=FALSE],
refine=FALSE, extend=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.