Re: [R] Placement of words in a word cloud as per its occurance.

2016-05-19 Thread shaila shailaja
Thank you Peter for pointing out my errors. I shall take care of if henceforth. To keep the mail short I left out the details, sorry about that.   I am using wordcloud package to built a comparative and commonality cloud. My usage: comparison.cloud(term.matrix,max.words=300)commonali

Re: [R] Placement of words in a word cloud as per its occurance.

2016-05-18 Thread shaila shailaja
Hi Jim, Thank you for the reply. Is there a way out to use it with wordcloud package and built a comparative and commonality cloud. My usage: comparison.cloud(term.matrix,max.words=300)   commonality.cloud(term.matrix,random.order=FALSE, rot.per=0) I am already doing a lot o

Re: [R] Placement of words in a word cloud as per its occurance.

2016-05-18 Thread peter dalgaard
A few points of order; you seem to be making a couple of rookie mistakes here. (Don't take it personally, lots of people do). 1) Posting in HTML comes across garbled (and it can get much worse than what you see below), so please configure you mail program to avoid doing that. 2) You seem to ass

Re: [R] Placement of words in a word cloud as per its occurance.

2016-05-17 Thread Jim Lemon
Hi Shailaja, If you just want a line of words, it's not too difficult if you have the word frequencies: # take a common sentence sentence<-"The quick brown fox jumps over the lazy dog" words<-unlist(strsplit(sentence," ")) # make up some word frequencies wordfreq<-c(10,1,2,2,3,4,10,6,5) library(pl

[R] Placement of words in a word cloud as per its occurance.

2016-05-17 Thread shaila shailaja
Dear R help subscribers, I am working on a word cloud where in I want the words to appear in the same order as in the sentence/text. I only know the random.order - which plots words in random order. If false, they will be plotted in decreasing frequency.   Any help is most welcome.   Re