Good Day, I am working on a text mining assignment and have built the document matrix using the tm package. Now I need to run findAssocs from my dtm with some word say 'like' with a correlation of 0.70 but as far as i have been researching it tells it this function is only viable when we have more than 1 doc however in my case i only have 1. So please suggest if there is an alternate to this issue. This is because there are words that correlate to each other in the data I am dealing with. Kindly advice.
findAssocs in TM package in R help?
3 messages · Shivi Bhatia, Duncan Murdoch
1 day later
Hi Team, Please suggest.
On Sun, Jul 17, 2016 at 2:55 AM, Shivi Bhatia <shivipmp82 at gmail.com> wrote:
Good Day, I am working on a text mining assignment and have built the document matrix using the tm package. Now I need to run findAssocs from my dtm with some word say 'like' with a correlation of 0.70 but as far as i have been researching it tells it this function is only viable when we have more than 1 doc however in my case i only have 1. So please suggest if there is an alternate to this issue. This is because there are words that correlate to each other in the data I am dealing with. Kindly advice.
On 17/07/2016 6:31 PM, Shivi Bhatia wrote:
Hi Team, Please suggest. On Sun, Jul 17, 2016 at 2:55 AM, Shivi Bhatia <shivipmp82 at gmail.com> wrote:
Good Day, I am working on a text mining assignment and have built the document matrix using the tm package.
We don't do homework here. You should ask your instructor for help. Duncan Murdoch
Now I need to run findAssocs from my dtm with some word say 'like' with a correlation of 0.70 but as far as i have been researching it tells it this function is only viable when we have more than 1 doc however in my case i only have 1. So please suggest if there is an alternate to this issue. This is because there are words that correlate to each other in the data I am dealing with. Kindly advice.
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.