cosAngleVec: Computes the cosine of the angle between the two...

View source: R/expression_funks.R

cosAngleVecR Documentation

Computes the cosine of the angle between the two n-dimensional argument vectors a and b.

Description

Computes the cosine of the angle between the two n-dimensional argument vectors a and b.

Usage

cosAngleVec(a, b)

Arguments

a

numerical representing first vector

b

numerical representing second vector

Value

cosine of angle between the two argument vectors or NaN if any entry in the vectors is not a number.


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.