Re: [R] latex expression

From: Charles C. Berry <cberry_at_tajo.ucsd.edu>
Date: Tue 03 Oct 2006 - 21:16:07 GMT

On Tue, 3 Oct 2006, Joe Moore wrote:

> Dear All:
>
> I try to use latex expression in legend, but I am not very clear on the
> detail rules in R. I remeber there is a R help page list all rules and many
> examples, but I forget what should I type (?xxx) to get this help page. Could
> you please remind me which function should I type?

Use the function 'help'

;-)

As in

         help( "legend" )

which usefully suggests:


See Also

[...] text for more examples of math expressions.


in addition to providing examples of how to use math expresisons in legend()

Following the suggestion under 'See Also', one find more examples of how to use math expressions as well as this:



See Also

[...] plotmath for details and more examples on mathematical annotation.


The advice in the posting guide, which you are asked to read before posting to r-help, says:

         Read the online help for relevant functions

to which I might add, run and examine the examples.

e.g.

         example( legend )

         example( text )

etc.

[ rest deleted]

---


Charles C. Berry                        (858) 534-2098
                                          Dept of Family/Preventive Medicine
E mailto:cberry@tajo.ucsd.edu	         UC San Diego
http://biostat.ucsd.edu/~cberry/         La Jolla, San Diego 92093-0717

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Wed Oct 04 07:32:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 03 Oct 2006 - 22:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.