View source: R/expression_funks.R
cosAngleVec | R Documentation |
a
and b
.Computes the cosine of the angle between the two n-dimensional argument
vectors a
and b
.
cosAngleVec(a, b)
a |
numerical representing first vector |
b |
numerical representing second vector |
cosine of angle between the two argument vectors or NaN if any entry in the vectors is not a number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.