R Base Graphic: Annotate with logical symbols (and/or)
I would like to add the logical symbols and (È) and or (É) to a base
graph in R.
I figured that the way to go will probably be using an expression, but I
can't figure out how, as their unicode codes \u2227 and \u2228 are not
working. Perhaps because I am on windows (win 7, 64 bit).
What I have:
plot(1, 1, pch = "")
text(1, 1.2, expression(paste("low ", italic(P), "(", italic(p), " and ",
italic(q), "), -1 SD")), cex = 1.2)
text(1, 0.8, expression(paste("low ", italic(P), "(\u00ac", italic(p), "
or ", italic(q), "), -1 SD")), cex = 1.2)
I would like to replace the literal and and or with their symbol counterpart.
No comments:
Post a Comment