View source: R/calculate-sna-pars.R
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
1 2 3 4 5 6 | get_CVs_from_timeperiod_list(
simple_ratio_list,
perm.by.layer = NULL,
zeros.rm = FALSE,
na.rm = FALSE
)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.