fun-igraph_financial: Extending 'igraph' functions to 'igraph_financial' objects

graph_methodsR Documentation

Extending igraph functions to igraph_financial objects

Description

The following functions are implemented:

  • V to retrieve the vertexes (igraph::V);

  • vcount to count the vertexes (igraph::vcount);

  • gorder as an alias to vcount_fin (igraph::gorder);

  • E to retrieve the edges (igraph::E);

  • gsize to count the edges (igraph::gsize);

  • ecount as an alias to gsize_fin (igraph::ecount)

  • plot_igraph to plot graphs (igraph::plot.igraph))

Usage

V(x)

vcount(x)

gorder(x)

E(x, ...)

ecount(x, ...)

gsize(x, ...)

plot_igraph(x, ...)

Arguments

x

The igraph_financial object

...

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

Details

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

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)

Author(s)

Telarico, Fabio Ashtar


FinNet documentation built on Oct. 31, 2024, 5:07 p.m.