Learn R Programming

BayesfMRI (version 0.3.11)

submesh: Remove part of a mesh without using INLA functions

Description

Remove part of a mesh without using INLA functions

Usage

submesh(mask, mesh)

Value

a mesh object with fewer vertices than the original input mesh

Arguments

mask

a 0-1 vector

mesh

a mesh resulting from a call to make_mesh with use_INLA = FALSE