[R] plotmath problem

David Winsemius dwinsemius at comcast.net
Sat Jan 2 03:39:25 CET 2016


> On Jan 1, 2016, at 6:10 PM, Fisher Dennis <fisher at plessthan.com> wrote:
> 
> R 3.2
> OS X
> 
> Colleagues,
> 
> This should be very simple but the solution eludes me.
> I have a polymath label for a graphic:
> 	bquote(AUC[0-infinity]~(ng/ml~x~hours))
> I would like the “x” to be replaced with a bullet.  

If by "bullet" you mean the mathematical symbol for multiplication, then it's just `%.%`

plot(1,1,xlab=bquote(AUC[0-infinity]~(ng/ml %.% hours))  )
> 
> 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
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list