fm_vertex_projection: Project integration points to mesh vertices

View source: R/integration.R

fm_vertex_projectionR Documentation

Project integration points to mesh vertices

Description

Compute information for assigning points to the vertices of the covering triangle

Usage

fm_vertex_projection(points, mesh)

Arguments

points

A SpatialPointsDataFrame, sf, or list object

mesh

An fm_mesh_2d or inla.mesh object

Value

SpatialPointsDataFrame, sf, or list of mesh vertices with projected data attached

Examples

head(fm_vertex_projection(list(loc = fmexample$loc), fmexample$mesh))
head(fm_vertex_projection(fmexample$loc_sf, fmexample$mesh))


fmesher documentation built on July 1, 2024, 5:07 p.m.