[R] graphs for pretest data

Juliet Hannah juliet.hannah at gmail.com
Sat Aug 23 18:04:58 CEST 2008


Is there an easy way to make graphs for the following data. I have
pretest and posttest scores for men and
women. I would like to form a 'titlted segment' plot for the data.
That is, make segments joining the scores,
with different types of segments for men and women.

Example data:

menpre <- c(43,42,26,39,60,60,46)
menpost <- c(40,41,36,42,54,58,43)

womenpre <- c(46,56,81,56,70,70)
womenpost <- c(44,52,81,59,69,68)

Thanks!

Juliet



More information about the R-help mailing list