Learn R Programming

DiceView (version 3.1-3)

mesh: Builds a mesh from a design aor set of points

Description

Builds a mesh from a design aor set of points

Usage

mesh(intervals, mesh.type = "seq", mesh.sizes = 11)

Value

delaunay mesh (list(p,tri,...) from geometry)

Arguments

intervals

bounds to inverse in, each column contains min and max (or values) of each dimension

mesh.type

function or "unif" or "seq" (default) or "LHS" to preform interval partition

mesh.sizes

number of parts for mesh (duplicate for each dimension if using "seq")

Examples

Run this code
mesh = mesh(intervals=matrix(c(0,1,0,1),ncol=2),mesh.type="unif",mesh.sizes=10)
plot2d_mesh(mesh)

Run the code above in your browser using DataLab