network_methods {FinNet} | R Documentation |
Extending newtwork
functions to newtwork_financial
objects
Description
The following functions are implemented:
-
edgecount
to count the number of eges (network::network.edgecount
); -
vertex.names
to retrieve the vertices' names (network::network.vertex.names
); -
network.size
to count the edges (network::network::network.size
); -
plot_network
to plot networks (network::plot.network
))
Usage
edgecount(x, ...)
network.size(x, ...)
vertex.names(x, ...)
plot_network(x, ...)
Arguments
x |
The |
... |
Other parameters passed to the corresponding |
Details
Implementing most basic iterators from the package newtwork
for objects of class newtwork_financial
Value
The same result for both newtwork
and newtwork_financial
objects
-
edgecount
: Number of edges, numeric scalar -
vertex.names
: Names/Labels of the vertices, character vector -
network.size
: Number of vertices, numeric scalar -
plot_network
: Returns a two-column matrix containing the vertex positions as(x,y)
coordinates, invisibly. Called to print the graph to anyR
device.)
Author(s)
Telarico, Fabio Ashtar