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. [[alternative HTML version deleted]]
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. >[[alternative HTML version deleted]]
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. >
On 18/07/2016 10:17 AM, Shivi Bhatia wrote:> Hi Duncan, > > This is no homework, i am asking for a package a solution or other > measures to achieve this. I am not asking for a homework or to have some > one else do the work for me.Sorry, "text mining assignment" sounded like homework to me. But some assignments aren't homework. Duncan Murdoch> > On Mon, Jul 18, 2016 at 5:09 AM, Duncan Murdoch > <murdoch.duncan at gmail.com <mailto:murdoch.duncan at gmail.com>> wrote: > > 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 <mailto: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 <mailto: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. > > >