predictComponent

Description

Finds connected component closest to given vector(s). On the first execution of function strongly connected components are calculated using igraph::cluster function.

Usage

1
predictComponent(object, x)

Arguments

object

GNG object

x

Can be either vector or data.frame.

Details

Find closest component

Examples

1
2
3
gng <- GNG(gng.preset.sphere(100))
# Find closest component to c(1,1,1)
predictComponent(gng,  c(1,1,1))

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.