| dissimilarity-methods {tm} | R Documentation |
Methods for function dissimilarity in package tm.
x
with the distance measure method. Any method accepted by
dists from package cba can be passed over.
Formally the dissimilarity is returned in form of a dist
object.
x and y
with the distance measure method. Any method accepted by
dists from package cba can be passed over.
data("crude")
tdm <- TermDocMatrix(crude)
dissimilarity(tdm, method = "angular")
dissimilarity(crude[[1]], crude[[2]], method = "ebinary")