Print method for class metanetwork

print(metanetwork)

# S3 method for metanetwork
print(metanetwork)

Arguments

metanetwork

object of class 'metanetwork'

Value

character indicating number of nodes and edges of the metaweb, available resolutions and number of local networks

NULL

Examples

library(metanetwork)
library(igraph)

g = make_ring(5,directed = TRUE)
meta = build_metanet(g)
#> Warning: nodes of metaweb do not have names. Assigning integers as names
print(meta)
#> object of class metanetwork
#> metaweb has 5 nodes and 5 edges 
#> single network 
#> single resolution available 

#on Angola dataset
data("meta_angola")
print(meta_angola)
#> object of class metanetwork
#> metaweb has 28 nodes and 127 edges 
#> 2 local networks 
#> available resolutions are: Species Phylum 

#on Norway dataset
data("meta_norway")
print(meta_norway)
#> object of class metanetwork
#> metaweb has 40 nodes and 204 edges 
#> 2 local networks 
#> available resolutions (not computed) are: trophic_group trophic_class taxa