I get the same on mine for the code below
sessionInfo()
sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1]
LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
LC_MONETARY=English_Australia.1252
[4] LC_NUMERIC=C
I can confirm the " instead of ≤, using the default X11 device.
I use a Gentoo amd64 box, R-2.13.0.
Using ylab=expression("Prob[X" <= "x]") didn’t change things.
(The " might actually be a ″ (DOUBLE PRIME); it is hard to tell.)
OTOH, using a utf8-encoded ≤ works:
set.seed(6)
x<- rnorm(30, 100,
Both of these work on my system:
set.seed(6)
x <- rnorm(30, 100, 20)
xs <- seq(50, 150, length=150)
cdf <- pnorm(xs, 100, 20)
plot(xs, cdf, type='l', ylim=c(0,1),
xlab=expression(x),
ylab=expression(paste("Prob[", X <= x, "]"))) # FH
lines(ecdf(x), cex=.5)
plot(xs, cdf, type='l', ylim=c
Works also for me.
sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=fr_FR.UTF-8 LC_NUMERIC=C
[3] LC_TIME=fr_FR.UTF-8LC_COLLATE=fr_FR.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=fr_FR.UTF-8
[7] L
Frank Harrell vanderbilt.edu> writes:
>
> Under
>
> platform x86_64-pc-linux-gnu
> arch x86_64
> os linux-gnu
> system x86_64, linux-gnu
> status
> major
On 2011-07-31 11:25, Frank Harrell wrote:
Under
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 2
minor 13.1
year 2011
month 07
day08
svn rev56322
language
6 matches
Mail list logo