[R] PAR(las)
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Wed Jan 13 11:48:25 CET 1999
Martin Maechler <maechler at stat.math.ethz.ch> writes:
> which is S compatible.
> However, in principle there is one case missing :
>
> 3 = always vertical
>
> (it can almost be constructed by using las=1 and "manually" turn the plot
> by 90 degrees...).
>
> Can anyone think of a situation where one would want this?
Yes. There's a barplot of aviation accidents by profession in Altmans
textbook which I have had trouble getting to look right in R, for
instance:
barplot(cbind(prof.pilots=16,lawyers=11,farmers=10,
salesmen=9,physicians=9,mechanics=6,policemen=6,managers=6,
engineers=5,teachers=4,housewives=3,students=3,armed.forces=1))
(actually, apart from the spacing bug, this looks fairly OK with
las=2, but you might want the y labels along the axis when the heights
are bigger numbers)
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list