Deprecated functions in inlabru
Source:R/deprecated.R
, R/integration.R
, R/mappers.R
, and 1 more
inlabru-deprecated.Rd
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 (defaultNULL=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 alist
with elementsloc
andweight
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 interiorsUse
fm_int_mesh_2d_core()
instead.bru_mapper_offset()
: Creates abru_mapper_const()
mapper.is.inside()
: Find out which points are inside a mesh. in favour offm_is_within()
. Replaceis.inside(mesh, loc)
withfm_is_within(loc, mesh)
.vertices.inla.mesh()
: Extract vertex locations from aninla.mesh
. Converts the vertices of aninla.mesh
object into aSpatialPointsDataFrame
. Deprecated in favour offm_vertices()
Author
Finn Lindgren finn.lindgren@gmail.com