graph_methods {FinNet} | R Documentation |
Extending igraph
functions to igraph_financial
objects
Description
The following functions are implemented:
-
V_fin
to retrieve the vertexes (igraph::V
); -
vcount_fin
to count the vertexes (igraph::vcount
); -
gorder_fin
as an alias tovcount_fin
(igraph::gorder
); -
E_fin
to retrieve the edges (igraph::E
); -
gsize_fin
to count the edges (igraph::gsize
); -
ecount_fin
as an alias togsize_fin
(igraph::ecount
) -
plot_igraph_fin
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 |
... |
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. -
vcount
andgorder
: Number of vertices, numeric scalar. -
E
: An edge sequence of the graph -
ecount
andgsize
: 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