run_DT | R Documentation |
calculates the delaunay triangulation of 5 points
run_DT(limit = Inf, input = NULL)
limit |
The upper limit on the number of triangles to be drawn, defaults to infinite |
input |
A 2x5 matrix can be supplied, if left blank the user is asked for values at runtime |
Plots the standard delaunay triangulation of the 5 points. input takes
a 2x5 matrix as input, or takes values from the user at runtime by default
## Not run: run_DT() ## Not run: run_DT(limit = 3) run_DT(input = matrix(c(1,2,3,9,0,5,6,9,4,3), ncol = 5, byrow = FALSE)) run_DT(input = matrix(c(5,6,8,2,9,1,7,9,2,4), ncol = 5, byrow = FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.