Skip to contents

Computes Pearson correlation coefficient between two numeric vectors.

Usage

eval_correlation(x, y)

Arguments

x

Numeric vector.

y

Numeric vector (same length as x).

Value

Correlation coefficient in [-1, 1].