Count the number of nodes or edges in a network
Examples
net = as_sfnetwork(roxel)
n_nodes(net)
#> [1] 987
n_edges(net)
#> [1] 1215
Count the number of nodes or edges in a network
net = as_sfnetwork(roxel)
n_nodes(net)
#> [1] 987
n_edges(net)
#> [1] 1215