cosine: Cosine distance

Description Usage Arguments Value

View source: R/compute_similarity.R

Description

Cosine distance

Usage

1
cosine(vec1, vec2)

Arguments

vec1

test vector

vec2

reference vector

Value

numeric value of cosine distance between the vectors


clustifyr documentation built on Nov. 8, 2020, 5:32 p.m.