Description Usage Arguments Value
View source: R/BasicFunctions.R
Creates a 2D mesh with the inla.mesh.2d function which have a Voronoi triangulation which matches rectanglges given as input.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | MeshCreationMatchingRectangles(
rectangleCentersX,
rectangleCentersY,
rectangleWidth,
rectangleHeight,
convHullVar.convex = -0.15,
convHullVar.concave = convHullVar.convex,
convHullVar.resolution = c(120, 120),
meshVar.max.edge = c(2, 10),
meshVar.offset = 6,
meshVar.cutoff = 0.2,
y.cutoff.boundary = NULL,
countingDomainExpanded
)
|
rectangleCentersX |
Vector with X-coordinate of the centerpoint of each of the obligatory rectangles |
rectangleCentersY |
Vector with X-coordinate of the centerpoint of each of the obligatory rectangles |
rectangleWidth |
Vector with the width of each of the obligatory rectangles |
rectangleHeight |
Vector with the height of each of the obligatory rectanglges |
convHullVar.convex |
convex parameter of inla.nonvonvex.hull. See ?inla.nonconvex.hull for details |
convHullVar.concave |
concave parameter of inla.nonvonvex.hull. See ?inla.nonconvex.hull for details |
convHullVar.resolution |
resolution parameter of inla.nonvonvex.hull. See ?inla.nonconvex.hull for details |
meshVar.max.edge |
max.edge parameter of inla.mesh.2d. Smaller values gives smaller triangles outside triangles. See ?inla.mesh.2d for details |
meshVar.offset |
offset parameter of inla.mesh.2d. See ?inla.mesh.2d for details |
meshVar.cutoff |
vector with cutoff parameters of inla.mesh.2d. See ?inla.mesh.2d for details |
y.cutoff.boundary |
numeric vector deciding the y-values which should be the coundary for the different cutoff-values. NULL means the first is applied everywhere |
countingDomainExpanded |
Expanded coutning domain used to define the inner boundary for the mesh |
An INLA mesh object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.