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.
The details for the use of the Symbol font mappings are on:
This is the code requested to display the Symbol glyphs and their decimal indices. (Caveat: This is the Symbol font on a Mac. No guarantees this will be the same everywhere.) You still need to convert to octal to reference to use the form "\nnn" seen above: