Learn R Programming

motifr (version 1.0.0)

is.directed: Checks whether the given network is directed

Description

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.

Usage

is.directed(net)

Arguments

net

the network

Value

whether the given network is directed

Examples

Run this code
# NOT RUN {
is.directed(motifr::ml_net)
# }

Run the code above in your browser using DataLab