Skip to contents

[Experimental] Calculates the pairwise correlations of the columns.

Usage

rs_cor(x, spearman)

Arguments

x

R matrix with doubles.

spearman

Shall the Spearman correlation be calculated instead of Pearson.

Value

The correlation matrix.