Message-ID: <x2so1c30lu.fsf@blueberry.kubism.ku.dk>
Date: 1999-12-09T09:49:33Z
From: Peter Dalgaard
Subject: barplot
In-Reply-To: "Zdenek Skala"'s message of "Thu, 9 Dec 1999 08:41:04 +0100"
"Zdenek Skala" <Zdenek.Skala at incoma.cz> writes:
> Sorry for incomplete posting:
> I am using R 0.90.0 for Win95/NT
> Hence, the correct workaround is:
> > barplot(c(.1,.5,1.0),ylim=c(-0.01,1.01))
> as proposed by Prof. Ripley instead of:
> > barplot(c(.1,.5,1.0),ylim=range(-0.01:1.01))
> which works for lower versions (I suppose).
> I have caused all the unclearness by non-citing the R version, so
> sorry again and thanks for the solution!
Actually, it's a problem in any version of R since way back:
> range(-0.01:1.01)
[1] -0.01 0.99
(a:b gives sequences in steps of 1, starting from a and stopping
before b is exceeded).
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._