Skip to contents

A step of the RcppExports implementation. Called by morie_cor_pearson. See the file header for the source the module follows.

Arguments

x

Passed to .Call.

y

Passed to .Call.

Value

The value of .Call.

Examples

x <- c(1, 2, 3, 4, 5); y <- c(2, 1, 4, 3, 5)
c(morie_cor_pearson_cpp(x, y), cor(x, y))
#> [1] 0.8 0.8