powered by
Computes the dot product between two given vectors.
dot(a, b, norm = TRUE)
numeric vector
logical, compute normalised dot product, default=True
numeric vector containing sdot product score
# NOT RUN { a <- runif(5) b <- runif(5) s <- dot(a, b) # }
Run the code above in your browser using DataLab