get_matrix_cors_from_timeperiod_list: Get matrix correlations from timeperiod list

Description Usage Arguments

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

Description

Function to calculate correlation coefficients of all two consecutive networks within a list of timeperiods, each with observed and permuted association indices.

Usage

1
2
3
4
5
get_matrix_cors_from_timeperiod_list(
  simple_ratio_list,
  zeros_remove = FALSE,
  method = c("pearson", "kendall", "spearman")
)

Arguments

simple_ratio_list

List created with 'get_simple_ratios()'

zeros_remove

Should all zeros be removed? (set to NA before running 'cor').

method

a character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman": can be abbreviated.


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