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

View source: R/network_summary_graph.R

network.summary.graphR Documentation

Returns all kinds of graph-level network measures for the netfacs network

Description

Calculates graph level summary measures from the network object

Usage

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

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)

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