salton | R Documentation |
Calculate Salton's cosine measure
salton(X, Y)
X |
input matrix (same dimensions as |
Y |
input matrix (same dimensions as |
Salton's cosine measure
Salton, G., & McGill, M.J. (1983). Introduction to Modern Information Retrieval. Toronto: McGraw-Hill.
# Generate some data
set.seed(123)
X <- matrix(rnorm(8), nrow = 4)
Y <- matrix(rnorm(8), nrow = 4)
# get Salton's cosine measure
salton(X, Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.