Description Usage Arguments Details Examples
Finds connected component closest to given vector(s). On the first execution of function strongly connected components are calculated using igraph::cluster function.
1 | predictComponent(object, x)
|
object |
GNG object |
x |
Can be either |
Find closest component
1 2 3 | gng <- GNG(gng.preset.sphere(100))
# Find closest component to c(1,1,1)
predictComponent(gng, c(1,1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.