I'd like to extract the areas each observation from ggvoronoi such that I get a new dataframe with the first column being the observation and the next column being the area of the polygon.
library(ggvoronoi)
set.seed(45056)
x <- sample(1:200,100)
y <- sample(1:200,100)
ggplot(points,aes(x,y)) +
stat_voronoi(geom=“path”) +
geom_point()