Learn R Programming

umap (version 0.2.2.0)

dCosine: compute cosine dissimilarity between two vectors

Description

Note: values output from this function do not satisfy the triangle inequality

Usage

dCosine(x, y)

Arguments

x

numeric vector

y

numeric vector

Value

cosine dissimilarity between x and y