Centrality: estimate the node Strength, Betweenness and Closeness of a...

View source: R/Centrality.R

CentralityR Documentation

estimate the node Strength, Betweenness and Closeness of a network

Description

estimate the node Strength, Betweenness and Closeness of a network

Usage

Centrality(network_G, include = "all", ...)

Arguments

network_G

a qgraph object, could also be the result of quickNet.

include

a vector of measures to include. if missing all measures available will be included. Not included by default are "Closeness", "Betweenness", "ExpectedInfluence", "OutExpectedInfluence", and "InExpectedInfluence". Can also be "all" or "All" to include all available centrality measures.

...

other parameters from qgraph::centralityPlot, this only affect the output of Centrality$centralityPlot.

Value

a list contains the centrality information:

  • centralityPlot: the result of qgraph::centralityPlot.

  • centrailty_data: the result of qgraph::centrality.

Examples

data('mtcars')
Centrality <- Centrality(quickNet(mtcars))

LeiGuo0812/quickNet documentation built on May 1, 2024, 10:42 p.m.