[R] add symbol above letter in R
Zilefac Elvis
zilefacelvis at yahoo.com
Tue Dec 9 20:34:03 CET 2014
I got the right answer:
mtext(text=expression(Winter(DJF)~mean~daily~precipitation~bar(italic(P))), side=3, line=1, cex=1.3, col="black")
Thanks.
On Tuesday, December 9, 2014 1:28 PM, Zilefac Elvis <zilefacelvis at yahoo.com> wrote:
Hi,
I would like to add a dash (—) on a letter in R.
How can I add a dash on letter P in the following:
mtext(text=expression(Winter(DJF)~mean~daily~precipitation~italic(P)), side=3, line=1, cex=1.3, col="black")
?plotmath could not provide an answer to my problem.
many thanks for your solutions.
Asong.
More information about the R-help
mailing list