findAssocs {tm} | R Documentation |
Find associations in a term-document matrix.
## S3 method for class 'TermDocumentMatrix': findAssocs(x, term, corlimit) ## S3 method for class 'matrix': findAssocs(x, term, corlimit)
x |
A term-document matrix. |
term |
A character holding a term. |
corlimit |
A numeric for the lower correlation bound limit. |
A named numeric with those terms from x
which correlate
with term
more than corlimit
.
data("crude") tdm <- TermDocumentMatrix(crude) findAssocs(tdm, "oil", 0.7)