Converts any supported network format to a statnet network object.
Examples
to_network(regulation_net)
#> Network attributes:
#> vertices = 10
#> directed = TRUE
#> hyper = FALSE
#> loops = FALSE
#> multiple = FALSE
#> bipartite = FALSE
#> total edges= 30
#> missing edges= 0
#> non-missing edges= 30
#>
#> Vertex attribute names:
#> vertex.names
#>
#> Edge attribute names:
#> weight
