inla.mesh.assessment {INLA} | R Documentation

## Interactive mesh building and diagnostics

### Description

Assess the finite element approximation errors in a mesh for interactive R sessions. More detailed assessment tools are in `meshbuilder()`.

### Usage

    inla.mesh.assessment(mesh, spatial.range, alpha = 2, dims = c(500, 500))

### Arguments

`mesh` | An `inla.mesh`
`spatial.range` | numeric; the spatial range parameter to use for the assessment
`alpha` | numeric; A valid `inla.spde2.pcmatern` `alpha` parameter
`dims` | 2-numeric; the grid size

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

### See Also

`fmesher::fm_mesh_2d()`, `fmesher::fm_rcdt_2d()`, meshbuilder

### Examples

    library(fmesher)
    bnd <- fm_segm(cbind(
        c(0, 10, 10, 0, 0),
        c(0, 0, 10, 10, 0)
    ), is.bnd = TRUE)
    mesh <- fm_mesh_2d_inla(boundary = bnd, max.edge = 1)
    out <- inla.mesh.assessment(mesh, spatial.range = 3, alpha = 2)

[Package INLA version 26.08.22 Index]