[R] Getting rid of spaces in plot math

Dennis Fisher fisher at plessthan.com
Tue Apr 1 04:03:02 CEST 2014


R 3.0.2
OS X

Colleagues

I am trying to label a graphic:
	Cortisol (µg/ml)
A simplified version of the code is:
	plot(1) ; mtext(bquote("Cortisol ("~mu~"g/ml)"))
This code inserts spaces around the mu:
	Cortisol ( µ g/ml)
How can I suppress those spaces?

Dennis


Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com




More information about the R-help mailing list