mesh2d {INLAspacetime}R Documentation

Illustrative code for building a mesh in 2d domain.

Description

Creates a mesh object. This is just a test code. For efficient, reliable and general code use the fmesher package.

Usage

mesh2d(loc, domain, max.edge, offset, SP = TRUE)

Arguments

loc

a two column matrix with location coordinates.

domain

a two column matrix defining the domain.

max.edge

the maximum edge length.

offset

the length of the outer extension.

SP

logical indicating if the output will include the SpatialPolygons.

Value

a mesh object.

Warning

This is just for illustration purpose and one should consider the efficient function available a the INLA package.


[Package INLAspacetime version 0.1.8 Index]