powered by
predictComponent(object, x)
vector
data.frame
gng <- GNG(gng.preset.sphere(100)) # Find closest component to c(1,1,1) predictComponent(gng, c(1,1,1))
Run the code above in your browser using DataLab