make_mesh {templateICAr}R 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.


[Package templateICAr version 0.6.4 Index]