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)

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 = 10,
  combination.size = 2
)

anger.net <- netfacs_network(
  netfacs.data = angry.face,
  link = "unweighted",
  significance = 0.01,
  min.count = 1
)

network_summary(anger.net)

NetFACS documentation built on Dec. 7, 2022, 1:12 a.m.