I am attempting to find words associated with a particular word in a term document matrix using the tm package.
I am using findAssocs
to do this. Arguments for findAssocs
are:
- x: A term-document matrix.
- term: A character holding a term.
- corlimit: A numeric for the lower correlation bound limit.
I am consistently getting numeric(0)
as my result
Example:
findAssocs(test.dtm, "investment", 0.90)
>numeric(0)
Does anyone have familiarity with findAssocs
and know what I am doing wrong? Or does anyone know more broadly what the numeric(0)
result could mean?
Thank you very much in advance for any help.