get_transitivity_from_ratio_matrix: Calculates the global clustering coefficient (or...

Description Usage Arguments

View source: R/calculate-sna-pars.R

Description

This function uses the 'igraph::transitivity()' function to calculate the global clustering coefficient of a network. The input should be a matrix with something like an association index as the weight of connections between nodes.

Usage

1
2
3
4
5
6
get_transitivity_from_ratio_matrix(
  m,
  weighted = TRUE,
  diag = FALSE,
  mode = "lower"
)

Arguments

m

Adjacency matrix with weights of connections.


urskalbitzer/daginR documentation built on Jan. 21, 2020, 1:26 a.m.