I have two points of collection across 20 subjects (pre and post for each),
so 20 pairs of data points.  I would like to plot the actual raw data points
for each subject for both pre and post and connect lines between these two
points (20 in all) to depict real change between the two timepoints.

I have tried using stripchart which adequately plots the two lines of
subject data points.  Attempting to use segments however has been
difficult.  It seems that the segments command gives too many coordiate
points - so where segments has:

x0, y0, x1, y1

I really only have two coordinates for each point -

pre to post

I am sure that I am misusing the command but not sure if I should continue
to try with segments or if there is another command that would be more
appropriate.

As always, thanks for any help.

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to