[R] question about R graphics-example plot attached

From: jia ding <dingjia_at_gmail.com>
Date: Wed 09 Nov 2005 - 00:08:15 EST

Suppose I have the data set like this:
A 1
3
7
10

B 5
9
13
The numbers here actually is A or B's occurence positions.So it means, position 1,3,7,10 is A;position 5,9,13 is B's occurence.

I want the plot is a line with a little dot (or bar) at the position 1(A-show red), position 3(A-red),position 5(B-blue),7(A-red),10(A-red),13(B-blue)

I am not sure, If I explained very clearly about my question. What a pity google group not support to attach a file. Otherwise,I can provide an example.

Thanks for the help!
Thanks Marc.
 DJ



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
output.png
Received on Wed Nov 09 00:13:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:04 EST