get_CVs_from_timeperiod_list: Function to calculate Coefficients of variation (CV) of...

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 calculate the CV for the observed data and for matrices of permuted social networks

Usage

1
2
3
4
5
6
get_CVs_from_timeperiod_list(
  simple_ratio_list,
  perm.by.layer = NULL,
  zeros.rm = FALSE,
  na.rm = FALSE
)

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.

zeros.rm

Should all zeros be removed (i.e. dyads that were never observed together). Could be problematic with permuted networks.

na.rm

Should NAs be removed. This argument is probably redudant as all NAs are set to 0 (which is correct in this case). But if set to FALSE, it controls if all matrices were well constructed.


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