network.summary.graph: Returns all kinds of graph-level network measures for the...

Description Usage Arguments Value Examples

View source: R/network_summary_graph.R

Description

Calculates graph level summary measures from the network object

Usage

1
network.summary.graph(netfacs.net)

Arguments

netfacs.net

igraph network object resulting from netfacs.network() function

Value

Function returns a dataframe with the number of elements in the graph, the number of connected edges, mean strength of connections, transitivity (mean number of closed triads), diameter (furthest path between two elements), degree centralization, and mean distance between elements

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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.graph(anger.net)

AlexMielke1988/NetFACS documentation built on Oct. 27, 2020, 4:14 p.m.