Description Usage Arguments Value Note Author(s) See Also

For `t = delaunayn(x)`

, where `x`

is a set of points in `d`

dimensions, `tsearchn(x, t, xi)`

finds the index in `t`

containing the points `xi`

. For points outside the convex hull,
`idx`

is `NA`

. `tsearchn`

also returns the barycentric
coordinates `p`

of the enclosing triangles.

1 |

`x` |
An |

`t` |
A |

`xi` |
An |

`fast` |
If the data is in 2D, use the fast C-based |

A list containing:

`list("idx")` |
An |

`list("p")` |
An |

Based on the Octave function Copyright (C) 2007-2012 David Bateman.

David Sterratt

tsearch, delaunayn

geometry documentation built on May 21, 2017, 3:40 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.