| graph_methods {FinNet} | R Documentation |
Extending igraph functions to igraph_financial objects
Description
The following functions are implemented:
-
V_finto retrieve the vertexes (igraph::V); -
vcount_finto count the vertexes (igraph::vcount); -
gorder_finas an alias tovcount_fin(igraph::gorder); -
E_finto retrieve the edges (igraph::E); -
gsize_finto count the edges (igraph::gsize); -
ecount_finas an alias togsize_fin(igraph::ecount) -
plot_igraph_finto plot graphs (igraph::plot.igraph))
Usage
V(x)
vcount(x)
gorder(x)
E(x, ...)
ecount(x, ...)
gsize(x, ...)
plot_igraph(x, ...)
Arguments
x |
The |
... |
Other parameters passed to the corresponding |
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. -
vcountandgorder: Number of vertices, numeric scalar. -
E: An edge sequence of the graph -
ecountandgsize: 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