[R] "less than or equal to" glyph
jwiley.psych at gmail.com
Sun Dec 5 21:30:23 CET 2010
I suspect this has to do with your locale, as it seems to work on my
system. Take a look at:
Sys.getlocale() # see yours
?Sys.setlocale # documentation
If you're are talking about something to add to a graph (e.g., in the
title or labelling a point) try:
sd_label <- substitute(LSD~(P <= 0.05) == n, list(n = 5))
plot(1:10, main = sd_label)
On Sun, Dec 5, 2010 at 11:25 AM, romzero <romzero at yahoo.it> wrote:
> If i insert \u2264 inside the text, like this
> lsd_label <- "LSD (P \u2264 0.05) = "
> the result is
> "LSD (P = 0.05) = "
> "LSD (P ≤ 0.05) = "
> how can i solve this problem?
> View this message in context: http://r.789695.n4.nabble.com/less-than-or-equal-to-glyph-tp3073557p3073557.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ph.D. Student, Health Psychology
University of California, Los Angeles
More information about the R-help