Learn R Programming

interp (version 1.1-6)

neighbours: List of neighbours from a triangulation or voronoi object

Description

Extract a list of neighbours from a triangulation or voronoi object

Usage

neighbours(obj)

Value

nested list of neighbours per point

Author

A. Gebhardt

Arguments

obj

object of class "triSht" or "voronoi.mosaic"

See Also

triSht, print.triSht, plot.triSht, summary.triSht, triangles

Examples

Run this code
data(tritest)
tritest.tr<-tri.mesh(tritest$x,tritest$y)
tritest.nb<-neighbours(tritest.tr)

Run the code above in your browser using DataLab