network.summary: Returns all kinds of network measures for the netfacs network

View source: R/network_summary.R

network.summaryR Documentation

Returns all kinds of network measures for the netfacs network

Description

Calculates node level centrality measures from the network object

Usage

network.summary(netfacs.graph)

Arguments

netfacs.graph

igraph network object resulting from netfacs.network() function

Value

Function returns a data frame with the element, its 'strength' (mean probability of co-occurrence), 'eigenvector' centrality (connection to other highly connected elements), 'betweenness' centrality (number of connections running through the element), and a number of other network measures

Examples

data(emotions_set)
angry.face <- netfacs(
  data = emotions_set[[1]],
  condition = emotions_set[[2]]$emotion,
  test.condition = "anger",
  ran.trials = 100,
  combination.size = 2
)

anger.net <- netfacs.network(
  netfacs.data = angry.face,
  link = "unweighted",
  significance = 0.01,
  min.count = 1,
  min.prob = 0,
  min.specificity = 0,
  ignore.element = NULL
)

network.summary(anger.net)

NetFACS documentation built on March 18, 2022, 7:40 p.m.