powered by
head
List the first n_nodes and n_edges of the gexf file.
n_nodes
n_edges
# S3 method for gexf head(x, n_nodes = 6L, n_edges = n_nodes, ...)
An object of class gexf.
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)
Run the code above in your browser using DataLab