Closed friendly closed 9 years ago
This is more or less how the plot should appear:
plot(LOR ~ age, data=lor_CM_df, lwd=2, type="b", pch=16, cex=1.25, ylim=c(2,5))
with(lor_CM_df, arrows(age, LOR-2*ASE, age, LOR+2*ASE, angle=90, code=3, length=.1))
Ah, when in doubt, RTFM! Now need bars=FALSE
plot(lor_CM, bars=FALSE, baseline=FALSE)
There is still the problem with the fitted quadratic not showing.
issue with quadratic solved with vcd rev 802, and modified code. (The real x-axis scale differs from what the labels show).
In example 4.12, the plot of log odds ratios now shows a bar plot, with connected lines. It should give a line graph. As well, the fitted quadratic model doesn't appear in the plot.