Skip to contents

These functions still attempt to do their job, but will be removed in a future version.

Usage

mesh_triangle_integration(mesh, tri_subset = NULL, nsub = NULL)

bru_mapper_offset(...)

is.inside(mesh, loc, mesh.coords = NULL)

vertices.inla.mesh(...)

Arguments

mesh

an inla.mesh object.

tri_subset

Optional triangle index vector for integration on a subset of the mesh triangles (Default NULL)

nsub

number of subdivision points along each triangle edge, giving (nsub + 1)^2 proto-integration points used to compute the vertex weights (default NULL=9, giving 100 integration points for each triangle)

...

Usually passed on to other methods

loc

Points in space stored either as data.frame, a two-column matrix of x and y coordinates or a SpatialPoints object.

mesh.coords

Coordinate names of the mesh. Use only if loc is a data.frame with respective column names.

Value

  • mesh_triangle_integration returns a list with elements loc and weight with integration points for the mesh

is.inside(): Single column matrix of Boolean values indicating if a point is inside the mesh.

Functions

  • mesh_triangle_integration(): Integration scheme for mesh triangle interiors

    [Deprecated] Use fm_int_mesh_2d_core() instead.

  • bru_mapper_offset(): Creates a bru_mapper_const() mapper.

  • is.inside(): Find out which points are inside a mesh. [Deprecated] in favour of fm_is_within(). Replace is.inside(mesh, loc) with fm_is_within(loc, mesh).

  • vertices.inla.mesh(): Extract vertex locations from an inla.mesh. Converts the vertices of an inla.mesh object into a SpatialPointsDataFrame. Deprecated in favour of fm_vertices()

See also

Author

Finn Lindgren finn.lindgren@gmail.com