powered by
calculateCentroids(object, community.detection.algorithm = spinglass.community)
## Not run: # gng <- GNG(gng.preset.sphere(100)) # print(node(gng, calculateCentroids(gng)[1])$pos) # ## End(Not run)
Run the code above in your browser using DataLab