| inla.mesh.boundary {INLA} | R Documentation |
Constructs an list of inla.mesh.segment object from boundary or
interior constraint information in an inla.mesh() object.
inla.mesh.boundary(mesh, grp = NULL) inla.mesh.interior(mesh, grp = NULL)
mesh |
An |
grp |
Group indices to extract. If |
A list of inla.mesh.segment objects.
Finn Lindgren finn.lindgren@gmail.com
inla.mesh.segment(), inla.mesh.create(),
inla.mesh.create.helper()
loc = matrix(runif(100*2)*1000,100,2) mesh = inla.mesh.create.helper(points.domain=loc, max.edge=c(50,500)) boundary = inla.mesh.boundary(mesh) interior = inla.mesh.interior(mesh)