igraph2sf: Convert an igraph object to sf lines

View source: R/igraph.R

igraph2sfR Documentation

Convert an igraph object to sf lines

Description

Convert an igraph object to sf lines

Usage

igraph2sf(ig_network)

Arguments

ig_network

igraph network

Examples

tree <- create_reversed_tree(15)
tree_sf <- igraph2sf(tree)
plot(tree_sf)

jsta/streamnet documentation built on July 9, 2022, 9:02 p.m.