ipoints {inlabru} | R Documentation |
Deprecated functions in inlabru
Description
These functions still attempt to do their job, but will be removed in a future version.
Usage
ipoints(
samplers = NULL,
domain = NULL,
name = NULL,
group = NULL,
int.args = NULL,
project = deprecated()
)
cprod(..., na.rm = NULL, .blockwise = FALSE)
integration_weight_aggregation(mesh, integ)
mesh_triangle_integration(mesh, tri_subset = NULL, nsub = NULL)
## Default S3 method:
bru_mapper(...)
bru_mapper_offset(...)
is.inside(mesh, loc, mesh.coords = NULL)
vertices.inla.mesh(...)
pixels(mesh, nx = 150, ny = 150, mask = TRUE)
Arguments
samplers |
Description of the integration region boundary.
In 1D, a length 2 vector or two-column matrix where each row describes an interval,
or |
domain |
Either
|
name |
Character array stating the name of the domains dimension(s).
If |
group |
Column names of the |
int.args |
List of arguments passed to
|
project |
|
... |
Usually passed on to other methods |
na.rm |
logical; if |
.blockwise |
logical; if |
mesh |
An |
integ |
|
tri_subset |
Optional triangle index vector for integration on a subset
of the mesh triangles (Default |
nsub |
number of subdivision points along each triangle edge, giving
|
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. |
nx |
Number of pixels in x direction |
ny |
Number of pixels in y direction |
mask |
If logical and TRUE, remove pixels that are outside the mesh.
If |
Value
ipoints()
: A data.frame
, tibble
, sf
, or SpatialPointsDataFrame
of 1D and
2D integration points, including a weight
column and .block
column.
A data.frame
, sf
, or SpatialPointsDataFrame
of multidimensional
integration points and their weights
-
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.
SpatialPixelsDataFrame
covering the mesh
Functions
-
ipoints()
:in favour of
fmesher::fm_int()
-
cprod()
: (Blockwise) cross product of integration points.Calculates the groupwise cross product of integration points in different dimensions and multiplies their weights accordingly. If the object defining points in a particular dimension has no weights attached to it all weights are assumed to be 1.
Legacy wrapper for
fm_cprod()
-
integration_weight_aggregation()
: Aggregate integration weights onto mesh nodesUse
fmesher::fm_vertex_projection()
instead. -
mesh_triangle_integration()
: Integration scheme for mesh triangle interiorsUse
fmesher::fm_int_mesh_2d_core()
instead. -
bru_mapper(default)
: Callsbru_mapper_define
, passing all arguments along. Mapper implementations should callbru_mapper_define()
instead, and supply at least anew_class
class name. Use of thebru_mapper.default
method was deprecated from version 2.7.0, and removed in version 2.11.0 -
bru_mapper_offset()
: Creates abru_mapper_const()
mapper. -
is.inside()
: Find out which points are inside a mesh.in favour of
fm_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()
-
pixels()
: GenerateSpatialPixels
covering aninla.mesh
.in favour of
fmesher::fm_pixels()
Author(s)
Finn Lindgren finn.lindgren@gmail.com