sg2igraph {spatgraphs} | R Documentation |
Obsolete. Use igraph::graph_from_adj_list on the graph edges element.
sg2igraph(g, x, ...)
g |
sg object |
x |
possibly the location pattern |
... |
not used Not implemented. You can use the 'graph_from_adj_list'-function in 'igraph'-package on the edges-element of the graph. |
## Not run:
ix <- igraph::graph_from_adj_list(x$edges)
## End(Not run)