tRiad is a package to perform Delaunay Triangulations (Sloan(1987)) on a set of 2D points. It was developed as part of GSoC 2022 for the R Project for Statistical Computing. It was developed with the help of my mentors Di Cook and Harriet Mason.
#Development version
#install.packages("devtools")
devtools::install_github("ZeroDawn0D/tRiad")
x <- c(0,10,-20,30,10,-10)
y <- c(10,-20,-20,20,0,0)
plot(x,y)
library("tRiad")
tRiad.obj <- DelTri(x,y)
plot(tRiad.obj)
data("hundred")
plot(hundred)
tRiad.hundred <- DelTri(hundred)
plot(tRiad.hundred, type = 'n')