View source: R/mesh_assessment.R
fm_assess | R Documentation |
Assess the finite element approximation errors in a mesh for interactive R sessions.
fm_assess(mesh, spatial.range, alpha = 2, dims = NULL)
mesh |
An fm_mesh_2d object |
spatial.range |
numeric; the spatial range parameter to use for the assessment |
alpha |
numeric; A valid |
dims |
2-numeric; the grid size |
An sf
object with gridded mesh assessment information
Finn Lindgren finn.lindgren@gmail.com
fm_mesh_2d()
, fm_rcdt_2d
bnd <- fm_segm(cbind(
c(0, 10, 10, 0, 0),
c(0, 0, 10, 10, 0)
), is.bnd = TRUE)
mesh <- fm_rcdt_2d_inla(boundary = bnd, max.edge = 1)
out <- fm_assess(mesh, spatial.range = 3, alpha = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.