generate_mesh: Generate INLA mesh

View source: R/inla_spde.R

generate_meshR Documentation

Generate INLA mesh

Description

Generate the standard mesh used for simulation fits

Usage

generate_mesh(resolution = "coarse")

Arguments

resolution

One of "coarse", "medium", or "fine"

Details

Provides three options for standard meshes. All include the same constraints on max edge length and minimum vertex angle, as well as offset. The "coarse" mesh uses 404 vertices with a cutoff of 5, the "medium" mesh uses 1437 vertices with a cutoff of 2, and the "fine" mesh uses 3038 vertices with a cutoff of 1.

Value

A inla.mesh object that can be passed to generate_fem.

Author(s)

John Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.