predictComponent-methods: predictComponent

Description Usage Arguments Details Examples

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))

gmum.r documentation built on May 19, 2017, 1:40 p.m.

Search within the gmum.r package
Search all R packages, documentation and source code

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

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

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