head.gexf | R Documentation |
head
method for gexf objectsList the first n_nodes
and n_edges
of the gexf file.
## S3 method for class 'gexf'
head(x, n_nodes = 6L, n_edges = n_nodes, ...)
x |
An object of class gexf. |
n_nodes , n_edges |
Integers. Number of nodes and edges to print |
... |
Ignored |
fn <- system.file("gexf-graphs/lesmiserables.gexf", package = "rgexf")
g <- read.gexf(fn)
head(g, n_nodes = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.