salton {cata} | R Documentation |
Salton's cosine measure
Description
Calculate Salton's cosine measure
Usage
salton(X, Y)
Arguments
X |
input matrix (same dimensions as |
Y |
input matrix (same dimensions as |
Value
Salton's cosine measure
References
Salton, G., & McGill, M.J. (1983). Introduction to Modern Information Retrieval. Toronto: McGraw-Hill.
Examples
# 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)
[Package cata version 0.1.0.6 Index]