[R] How to get a degree sign into a lattice factor level?

Sonam Lodro kagyukid at yahoo.com
Tue Nov 12 02:04:57 CET 2002

platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
major    1                
minor    6.1              
year     2002             
month    11               
day      01               
language R         

I notice that expressions can be used in legends, but as far as I can
tell, cannot be used as levels for factors.  I'd like to be able to do
something like that so that the levels printed in a lattice plot show
the degree character.

In Splus, I used to use element [203] (if I remember correctly) of a
vector called All.ASCII which could be pasted with text to produce the
effect I require.

What is a good way to achieve the same in R?



U2 on LAUNCH - Exclusive greatest hits videos

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