get_cluster_info_from_timeperiod_list: Function that uses two algorithms (fast_greedy, infomap) to...

Description Usage Arguments

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

Description

This function uses a list of the Simple Ratio Association Index (or any other index) for all included time periods. It then calculates modularity and the ratio of individuals/estimated groups scaled from 0 to 1 (ratio_clusters_inds_scaled) from the observed data and for matrices of permuted social networks. It use two algorithms from the 'igraph' package: cluster_infomap and cluster_fast_greedy. Publications that discuss different ways of assessing modularity: Scott Emmons et al, 2016, Plos One (infomap, Blondel, label propagation, smart local moving)

Usage

1
2
3
4
5
get_cluster_info_from_timeperiod_list(
  simple_ratio_list,
  perm.by.layer = NULL,
  cluster_methods = NULL
)

Arguments

simple_ratio_list

List created with 'get_simple_ratios()“

perm.by.layer

In case not all layers (matrices) of permuted data should be included. This is the 'by' argument of the 'seq()' function.

cluster_methods

one or more of the 'igraph::cluster_' function (see '?igraph::communities' for available functions).


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