Learn R Programming

gmum.r (version 0.2.1)

node: node

Description

Retrieves node from resulting graph

Usage

node(x, gng_id)

Arguments

x
GNG object
gng_id
Id of the node to retrieve. This is the id returned by functions like predict, or centroids

Details

Get GNG node

Examples

Run this code
gng <- GNG(gng.preset.sphere(100))
print(node(gng, 10)$pos)

Run the code above in your browser using DataLab