powered by
Compute the cosine between two vectors.
vcos(x, y)
A p x 1 vector.
x <- rnorm(5) y <- rnorm(5) vcos(x, y)
Run the code above in your browser using DataLab