DirectedGraph | R Documentation |

R6 class defining a directed graph model for representing a network, including methods to calculate various measures from graph theory. The igraph package is used as a backend for calculations.

This class isn't intended to be initialized directly; instead,
network reporter objects will initialize it as
its `pkg_graph`

field. If you have a network reporter named
`reporter`

, then you access this object's public
interface through `pkg_graph`

—for example,

reporter$pkg_graph$node_measures('hubScore')

`pkgnet::AbstractGraph`

-> `DirectedGraph`

`default_node_measures`

character vector of default node measures. See

*Node Measures*section in DirectedGraphMeasures for details about each measure. Read-only.`default_graph_measures`

character vector of default graph measures. See

*Graph Measures*section in DirectedGraphMeasures for details about each measure. Read-only.

`clone()`

The objects of this class are cloneable with this method.

DirectedGraph$clone(deep = FALSE)

`deep`

Whether to make a deep clone.

DirectedGraphMeasures

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.