Placeholder function for the corresponding functions of the various supported network formats. For example, this function calls network::is.directed() on network objects and igraph::is.directed() on igraph objects.

is.directed(net)

Arguments

net

the network

Value

whether the given network is directed

Examples

is.directed(motifr::ml_net)
#> [1] FALSE