Description Usage Arguments Value Examples
Given a network return a list of all the attributes.
1 2 3 4 5 6 7 8 9 |
x |
network object |
type |
character, type of attributes to dump |
... |
other arguments from/to other methods |
If type
is one of "network", "vertex" or "edge"
then a list of corresponding attributes.
If type
is "all" then lists of lists of
attributes.
1 2 3 4 5 6 7 8 9 10 11 | # using 'igraph' object
l <- dumpAttr( exIgraph ) # all attributes
identical( dumpAttr(exIgraph, "network"), l$network )
identical( dumpAttr(exIgraph, "vertex"), l$vertex )
identical( dumpAttr(exIgraph, "edge"), l$edge )
# using 'network' object
l <- dumpAttr( exNetwork ) # all attributes
identical( dumpAttr(exNetwork, "network"), l$network )
identical( dumpAttr(exNetwork, "vertex"), l$vertex )
identical( dumpAttr(exNetwork, "edge"), l$edge )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.