How to visualise the voronoi centers in the voronoi plot in R

knn

#1

hello,

While learning about k-NN I am trying to visualize the voronoi plot.
I have used:

library("tripack")
x <- testing[,1]
y <- testing[,2]
plot(voronoi.mosaic(x, y, duplicate="remove"))

Which is giving me:

Is there a way I can see which points have been selected as voronoi centers in the plot??