[R] Axis labels

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Aug 28 17:26:36 CEST 2001


Hi,

I am trying to label the x-axis of some histograms with the units of
measurement.

However, when I use, for example:

> truehist(Ca, prob=FALSE, col="gray", xlab=expression(paste("Calcium
(", mu, eq^-1, ")")))

I get the following message:

Error in eval(expr, envir, enclos) : Object "mu" not found

Could someone let me know what I'm doing wrong?

Many thanks

Gav

> version
         _              
platform i386-pc-mingw32
arch     x86            
os       Win32          
system   x86, Win32     
status                  
major    1              
minor    3.0            
year     2001           
month    06             
day      22             
language R 

Win2000

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list