n | R Documentation |
Count the number of nodes or edges in a network
n_nodes(x, focused = FALSE)
n_edges(x, focused = FALSE)
x |
An object of class |
focused |
Should only features that are in focus be counted? Defaults
to |
An integer.
net = as_sfnetwork(roxel)
n_nodes(net)
n_edges(net)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.