[R] Label customization in R plots

David Winsemius dwinsemius at comcast.net
Mon Apr 28 21:36:50 CEST 2014


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-square =

In 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



More information about the R-help mailing list