pairwiseCorrelations: Calculate pairwise correlations between parameters

Description Usage Arguments

View source: R/log_utils.R

Description

Returns a matrix with the pairwise correlations between pairs of parameters. This function is similar to coda::corsscorr, but unlike the coda function other parameters can be passed to the correlation function (so spearman or pearson correlation coefficients can be calculated).

Usage

1

Arguments

data

Data frame or matrix of the posterior samples of parameters. If data is a matrix, samples are rows and parameters are columns.


laduplessis/beastio documentation built on Dec. 14, 2021, 7:04 p.m.