Learn R Programming

NetFACS (version 0.5.0)

network_summary_graph: 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)

network.summary.graph(netfacs.net)

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

Arguments

netfacs.net

igraph network object resulting from netfacs_network function

Examples

Run this code
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_graph(anger.net)

Run the code above in your browser using DataLab