Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

are_in.mesh

Checks if some points belong to a given mesh


Description

Checks if some points belong to a given mesh

Usage

are_in.mesh(X, mesh)

Arguments

X

points to check

mesh

mesh identifying the set which X may belong

Examples

X = matrix(runif(100),ncol=2);
inside = are_in.mesh(X,mesh=geometry::delaunayn(matrix(c(0,0,1,1,0,0),ncol=2),output.options =TRUE))
print(inside)
plot(X,col=rgb(1-inside,0,0+inside))

DiceView

Methods for Visualization of Computer Experiments Design and Surrogate

v2.0-1
GPL-3
Authors
Yann Richet, Yves Deville, Clement Chevalier
Initial release
2020-11-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.