On Sat, 2008-08-23 at 12:04 -0400, Juliet Hannah wrote: > 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) > Hi Juliet, This looks like spread.labels in the plotrix package might do the job. Check the second example.
Jim ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.