dCenteredPearson: compute pearson correlation distance between two vectors

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

Pearson distance is (1-r^2)

Usage

1

Arguments

x

numeric vector

y

numeric vector

Details

Important: this function assumes that data has been centered i.e. that mean(x) = mean(y) = 0

Value

pearson distance between x and y


donelsonsmith/umap_R documentation built on Nov. 4, 2019, 10:58 a.m.