[R] NEED HELP : Association in single DTM

Rahul singh rahulutube69 at gmail.com
Wed Nov 15 06:40:20 CET 2017

I have free text data in a single text document. I create a corpus, and
then a document term matrix out of it. I can create a word cloud too.

But when I do word association for the same, using "findAssocs(), it always
returns numeric(0).

EX : findAssocs(dtm, "king" ,000000000000000000000.1)

I read on stack overflow that it is because I have a single document.

What is the workaround for the same ?

	[[alternative HTML version deleted]]

More information about the R-help mailing list