make_mesh: Make Mesh

View source: R/make_mesh.R

make_meshR Documentation

Make Mesh

Description

Make INLA triangular mesh from faces and vertices

Usage

make_mesh(vertices, faces)

Arguments

vertices

A V \times 3 matrix, where each row contains the Euclidean coordinates at which a given vertex in the mesh is located. V is the number of vertices in the mesh

faces

An F \times 3 matrix, where each row contains the vertex indices for a given triangular face in the mesh. F is the number of faces in the mesh.

Value

INLA triangular mesh

INLA Requirement

This function requires the INLA package, which is not a CRAN package. See https://www.r-inla.org/download-install for easy installation instructions.


mandymejia/BayesGLMfMRI documentation built on April 12, 2025, 3:41 p.m.