correlation: Correlation between two matrices.

Description Usage Arguments Value Author(s) See Also

View source: R/comparison.R

Description

Calculate correlation between two matrices using cor. A group of specific threshold can be set, in which case the correlations are calculated incrementally for values above the thresholds.

Usage

1
correlation(x, y, method = "kendall", thresholds = c(0))

Arguments

x

Numeric matrix.

y

Numeric matrix.

method

Character string correlation method used (default: 'kendall').

thresholds

Numeric vector of thresholds used (default: c(0)).

Value

A list with 2 items:

thresholds

Correlations between 2 matrices with values above a given threshold.

total

Overall correlation between the 2 matrices.

Author(s)

Joona Lehtomaki <joona.lehtomaki@gmail.com>

See Also

cor


cbig/zonator documentation built on May 23, 2020, 7:02 a.m.