calcCosine: Calculate the cosine similarity metric for two lists a and b

calcCosineR Documentation

Calculate the cosine similarity metric for two lists a and b

Description

Calculate the cosine similarity metric for two lists a and b

Usage

calcCosine(a, b)

Arguments

a

list with elements that should be of same type as in list b

b

list with elements

Value

co list with length of set b containing the cosine similarity coefficient at each position

Examples

calcCosine(c(1,2), c(2,3))

epos documentation built on May 29, 2024, 3:49 a.m.