[R] Label customization in R plots

Bert Gunter gunter.berton at gene.com
Mon Apr 28 23:21:49 CEST 2014


See also ?panel.text for lattice. This presumes that you know how to
use panel functions, however.

-- Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
H. Gilbert Welch




On Mon, Apr 28, 2014 at 12:36 PM, David Winsemius
<dwinsemius at comcast.net> wrote:
>
> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.



More information about the R-help mailing list