I have a set of 3D points (space (x,y) and time t) and I want to construct a quadrature using if possible the Dirichlet tessellation and most important, compute the quadrature weights, meaning the volume of the Dirichlet 3 dimensional 'tiles'. All of this in R. I found the geometry package but it doesn't compute the volumes. Do you know any R packages that could help me with this?
Here is the code:
library(geometry)
library(rgl)
library(scatterplot3d)
x <- runif(20, 0, 1)
y <- runif(20, 0, 1)
z <- runif(20, 0, 1)
d <- cbind(x, y, z)
scatterplot3d::scatterplot3d(d)
t <- delaunayn(d)