networkStat function

Calculating network summary statistics

Calculating network summary statistics

networkStat calculates main network statistics.

networkStat(object, stat = "network", type = "degree")

Arguments

  • object: is a network matrix obtained by the function biblioNetwork or an graph object of the class igraph.
  • stat: is a character. It indicates which statistics are to be calculated. stat = "network" calculates the statistics related to the network; stat = "all" calculates the statistics related to the network and the individual nodes that compose it. Default value is stat = "network".
  • type: is a character. It indicates which centrality index is calculated. type values can be c("degree", "closeness", "betweenness","eigenvector","pagerank","hub","authority", "all"). Default is "degree".

Returns

It is a list containing the following elements:

grapha network object of the class igraph
networka communities a list with the main statistics of the network
vertexa data frame with the main measures of centrality and prestige of vertices.

Details

The function networkStat can calculate the main network statistics from a bibliographic network previously created by biblioNetwork.

Examples

# EXAMPLE Co-citation network # to run the example, please remove # from the beginning of the following lines # data(scientometrics, package = "bibliometrixData") # NetMatrix <- biblioNetwork(scientometrics, analysis = "co-citation", # network = "references", sep = ";") # netstat <- networkStat(NetMatrix, stat = "all", type = "degree")

See Also

biblioNetwork to compute a bibliographic network.

cocMatrix to compute a co-occurrence matrix.

biblioAnalysis to perform a bibliometric analysis.