Skip to content
Prev 1850 / 398506 Next

PAR(las)

Martin Maechler <maechler at stat.math.ethz.ch> writes:
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)