networkStat {bibliometrix}R Documentation

Calculating network summary statistics

Description

networkStat calculates main network statistics.

Usage

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".

Details

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

Value

It is a list containing the following elements:

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

See Also

biblioNetwork to compute a bibliographic network.

cocMatrix to compute a co-occurrence matrix.

biblioAnalysis to perform a bibliometric analysis.

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")


[Package bibliometrix version 4.1.4 Index]