powered by
dissimilarity
data("crude") tdm <- TermDocMatrix(crude) dissimilarity(tdm, method = "cosine") dissimilarity(crude[[1]], crude[[2]], method = "eJaccard")
Run the code above in your browser using DataLab