#' tucker
#'
#' calculate tucker congruence between 2 column vectors
#'
#' @param hi
#'
#' @return hi
#'
#' @examples
#' hi
#'
#' @export
tucker <- function(vectorA, vectorB){
coef <- sum(vectorA * vectorB) / sqrt(sum(vectorA^2)*sum(vectorB^2))
return (coef)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.