vcos | R Documentation |
Compute the cosine between two vectors.
vcos(x, y)
x |
A p x 1 vector. |
y |
A p x 1 vector. |
Cosine between x and y |
x <- rnorm(5)
y <- rnorm(5)
vcos(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.