fun-network_financial function

Extending newtwork functions to newtwork_financial objects

Extending newtwork functions to newtwork_financial objects

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))
edgecount(x, ...) network.size(x, ...) vertex.names(x, ...) plot_network(x, ...)

Arguments

  • x: The newtwork_financial object
  • ...: Other parameters passed to the corresponding newtwork functions (see Details).

Returns

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 any R device.)

Details

Implementing most basic iterators from the package newtwork for objects of class newtwork_financial

Author(s)

  • Maintainer: Fabio Ashtar Telarico
  • License: GPL (>= 3)
  • Last published: 2024-10-31