Usage
getNodes(x, ...)
# S4 method for class 'gGraph'
getNodes(x, ...)
# S4 method for class 'gData'
getNodes(x, ...)See also
getGraph, getCoords, getNodesAttr
Other accessor_methods:
getColors(),
getCoords(),
getCosts(),
getData(),
getEdges(),
getGraph(),
getNodesAttr(),
setColors(),
setGraph()
Examples
head(getNodes(worldgraph.10k))
#> [1] "1" "2" "3" "4" "5" "6"
getNodes(hgdp)
#> 28179 11012 22532 23709 24988 28833 26917 28836 21797 39741
#> "26898" "11652" "22532" "23709" "24988" "28833" "26917" "28836" "21797" "39741"
#> 39740 39740 16798 16798 22561 19359 21280 13597 20000 16162
#> "39740" "39740" "16798" "16798" "22561" "19359" "21280" "13597" "20000" "16162"
#> 13759 7348 13365 10816 5654 40768 30164 6433 15411 20543
#> "13760" "7348" "13365" "10816" "5655" "40768" "30164" "6433" "15411" "20543"
#> 26955 13518 8583 34111 18189 20755 34111 899 20110 5389
#> "26955" "13518" "8583" "34111" "18189" "20755" "34111" "899" "20110" "5389"
#> 1539 36661 28323 37309 16265 35388 28322 33480 18842 27148
#> "1539" "36661" "28323" "37309" "16265" "35388" "28322" "33480" "19483" "27148"
#> 11457
#> "11457"
