Hi all, I am a new comer in R . i am trying to figure out how to put in the label of a plot the basic statistics values like mean no of data = media = chi-square in a box. I tried a lot to search over the net but couldn't find one as yet. Thanks in advance for suggestions. Ayan. -- View this message in context: http://r.789695.n4.nabble.com/Label-customization-in-R-plots-tp4689616.html Sent from the R help mailing list archive at Nabble.com.
On Apr 28, 2014, at 10:47 AM, Ayan Mitra wrote:> Hi all, > I am a new comer in R . i am trying to figure out how to put in the > label of a plot the basic statistics values like mean> no of data = > media = > chi-squareIn base graphics you could do this with functions 'rect' and 'text'. For lattice (and probably ggplot2), there is a gridExtra package that has 'tableGrob' -- David Winsemius Alameda, CA, USA
On 04/29/2014 03:47 AM, Ayan Mitra wrote:> Hi all, > I am a new comer in R . i am trying to figure out how to put in the > label of a plot the basic statistics values like mean> no of data > media > chi-square > > > in a box. > > I tried a lot to search over the net but couldn't find one as yet. > Thanks in advance for suggestions. >Hi Ayan, Have a look at the addtable2plot function in the plotrix package. Jim