cosine: Cosine distance

View source: R/compute_similarity.R

cosineR Documentation

Cosine distance

Description

Cosine distance

Usage

cosine(vec1, vec2)

Arguments

vec1

test vector

vec2

reference vector

Value

numeric value of cosine distance between the vectors


NCBI-Hackathons/RClusterCT documentation built on Aug. 30, 2024, 2:05 a.m.