#' Vector correlation
#'
#' Calculates the cosine correlation between two vectors
#' @param x numeric vector
#' @param y numeric vector
#' @importFrom evolqg Normalize
#' @export
#' @examples
#' x = rnorm(10)
#' y = rnorm(10)
#' vectorCor(x, y)
vectorCor <- function(x, y) t(Normalize(x)) %*% Normalize(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.