is.sfnetwork | R Documentation |
Check if an object is a sfnetwork
is.sfnetwork(x)
x |
Object to be checked. |
TRUE
if the given object is an object of class
sfnetwork
, FALSE
otherwise.
library(tidygraph, quietly = TRUE, warn.conflicts = FALSE)
net = as_sfnetwork(roxel)
is.sfnetwork(net)
is.sfnetwork(as_tbl_graph(net))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.