make.mesh: Wrapper function to create a mesh object as used in an INLA...

Description Usage Arguments Value

View source: R/make_mesh.r

Description

Wrapper function to create a mesh object as used in an INLA model fit

Usage

1
2
make.mesh(locs = NULL, mesh.pars = NULL, spatial.polygon = NULL,
  sphere = FALSE, plot = FALSE)

Arguments

locs

a matrix of locations, either this or spatial.polygon must be supplied.

mesh.pars

a named vertor of mesh parameters, must contain cutoff length at which to cut off triangle edge lengths, min triangle edge length inside region, and max triangle edge length inside region.

spatial.polygon

if supplied the spatial polygon for the domain is used to construct mesh

sphere

Logical if TRUE the mesh is constructed on the unit sphere, note this is only possible if coordinates are longitude and Latitude, by default FALSE

plot

Logical if TRUE the triangulation is plotted

Value

A “mesh” object used in an INLA/SPDE model


cmjt/lgcpSPDE documentation built on July 25, 2019, 3:05 p.m.