fun-network_financial: Extending 'newtwork' functions to 'newtwork_financial'...

network_methodsR 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 newtwork_financial object

...

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

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

Author(s)

Telarico, Fabio Ashtar


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