make_mesh: Make INLA mesh from '"surf"' object

View source: R/make_mesh.R

make_meshR Documentation

Make INLA mesh from "surf" object

Description

Create INLA mesh and observation weight matrix based on a "surf" object

Usage

make_mesh(surf = NULL, inds_data = NULL, inds_mesh = NULL)

Arguments

surf

Object of class "surf". See make_surf and is.surf.

inds_data

Subset of vertices to include in analysis, e.g. non-medial wall locations.

inds_mesh

Subset of vertices to retain in mesh, e.g. non-medial wall locations. Must be a superset of inds_data.

Value

List containing INLA mesh, observation weight matrix A for translating between mesh locations and original data locations, the brain mask used to create the mesh, and the number of original and mesh data locations.


templateICAr documentation built on Feb. 16, 2023, 8:14 p.m.