Learn R Programming

graph (version 1.44.1)

isDirected-methods: Determine if a graph has directed or undirected edges

Description

The edges of a graph-class object are either directed or undirected. This function returns TRUE if the edges are directed and FALSE otherwise.

Usage

isDirected(object)

Arguments

object
A graph-class instance