Re: [R] How to write "%" before superscript?

From: Thomas Lumley <>
Date: Wed 03 May 2006 - 03:31:00 EST

On Tue, 2 May 2006, Larsen, Thomas wrote:

> I would like to write atom% 15N in the ylab of a plot - "15" should be
> written as superscript. How do I put "%" into the expression? It does
> not work if I type "%" directly after "atom" in the expression below.
> plot(1:10, ylab = expression(atom^15*N))

I would put % (and atom) in as a string "atom % "

  plot(1:10,ylab=quote("atom % "^{15}*N))


Thomas Lumley			Assoc. Professor, Biostatistics	University of Washington, Seattle

______________________________________________ mailing list PLEASE do read the posting guide! Received on Wed May 03 03:34:54 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 Wed 03 May 2006 - 04:10:27 EST.

Mailing list information is available at Please read the posting guide before posting to the list.