Learn R Programming

FinNet (version 0.1.2)

graph_methods: Extending igraph functions to igraph_financial objects

Description

The following functions are implemented:

Usage

V(x)

vcount(x)

gorder(x)

E(x, ...)

ecount(x, ...)

gsize(x, ...)

plot_igraph(x, ...)

Value

The same result for both igraph and igraph_financial objects

  • V: A vertex sequence containing all vertices, in the order of their numeric vertex ids.

  • vcount and gorder: Number of vertices, numeric scalar.

  • E: An edge sequence of the graph

  • ecount and gsize: Number of edges, numeric scalar.

  • plot_igraph: Returns NULL, invisibly. Called to print the graph to any R device. (see method and igraph::plot.igraph)

Arguments

x

The igraph_financial object

...

Other parameters passed to the corresponding igraph functions (see Details).

Author

Telarico, Fabio Ashtar

Details

Implementing most basic iterators from the package igraph for objects of class igraph_financial