Skip to content
Prev 32602 / 398530 Next

how to get a line plot before/after treatment

Frank  -

Roughly speaking:

matplot(c(0,10), rbind(before, after), type="l", axes=F, xlab="time",
         ylab="measurement")
axis(2)
axis(1, c(0,10), c("before","after"))

Should do the job, if I interpret correctly the plot you have in mind.
See help("matplot") : Details, and many pages of help("par") for ways
to modify and decorate the basic plot.

-  tom blackwell  -  u michigan medical school  -  ann arbor  -
On Wed, 28 May 2003, Frank Mattes wrote: