[R] Formatting names.arg

Ben Bolker bbolker at gmail.com
Mon May 23 22:32:56 CEST 2011


Adrienne Keller <adrienne.keller <at> umontana.edu> writes:

> I am making a barplot using barplot2 from gplots and would like to  
> format the names of my categorical variables (tree species) on the x- 
> axis so that the genus name is above the species name (to save room).  
> My code so far is:

[snip]


  Try "Dialium\nguianensis" etc. ?



More information about the R-help mailing list