ipoints | R Documentation |
These functions still attempt to do their job, but will be removed in a future version.
ipoints(
samplers = NULL,
domain = NULL,
name = NULL,
group = NULL,
int.args = NULL,
project = deprecated()
)
cprod(..., na.rm = NULL, .blockwise = FALSE)
gmap(...)
gm(...)
integration_weight_aggregation(mesh, integ)
mesh_triangle_integration(mesh, tri_subset = NULL, nsub = NULL)
bru_int_polygon(...)
## 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)
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 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.
SpatialPixelsDataFrame
covering the mesh
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()
gmap()
: Plot a map using extent of a spatial object
This function is deprecated as ggmap
isn't supported.
Used ggmap::get_map()
to query map services like Google Maps for a region
centered around the spatial object provided. Then calls ggmap()
to plot the
map.
This function required the ggmap
package.
gm()
: This function is deprecated as ggmap
isn't supported.
ggplot geom for spatial data
gm is a wrapper for the gg method. It will take the first argument and
transform its coordinate system to latitude and longitude. Thereafter, gg
is called using the transformed data and the arguments provided via ...
. gm
is intended to replace gg whenever the data is supposed to be plotted over a
spatial map generated by gmap, which only works if the coordinate system is
latitude/longitude.
integration_weight_aggregation()
: Aggregate integration weights onto mesh nodes
mesh_triangle_integration()
: Integration scheme for mesh triangle interiors
bru_int_polygon()
: Integration points for polygons inside an inla.mesh
bru_mapper(default)
: Calls bru_mapper_define
, passing all
arguments along. Mapper implementations should call bru_mapper_define()
instead, and supply at least a new_class
class name.
Use of the bru_mapper.default
method was deprecated from version 2.7.0,
and removed in version 2.11.0
bru_mapper_offset()
: Creates a bru_mapper_const()
mapper.
is.inside()
: Find out which points are inside a mesh.
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()
pixels()
: Generate SpatialPixels
covering an inla.mesh
.
in favour of fmesher::fm_pixels()
Finn Lindgren finn.lindgren@gmail.com
fm_cprod()
fm_is_within()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.