dot | R Documentation |
Computes the dot product between two given vectors.
dot(a, b, norm = TRUE)
a |
numeric vector |
b |
numeric vector |
norm |
logical, compute normalised dot product, default=True |
numeric vector containing sdot product score
a <- runif(5)
b <- runif(5)
s <- dot(a, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.