[R] Advise in R- plotting graphs

From: Jason Lee <huajie.lee_at_gmail.com>
Date: Fri, 23 May 2008 22:50:33 +1000


I have a data table matrix,"data" which looks like below:-

         V1 V2 V3

1 -6382.719 -1096.554 6998994
2 -some values-
3 -some values-
4 -some values-

5 -some values-

Querying dim of "data" gives me 3 columns and 5 rows.

And currently I want to plot "V1" against "V2" with the condition that I want to mark(color) the point(row 5) on the graph. This is so i could see some triangle shape thing on the graph for row 5.

I couldnt recall how I could use repo() to change the line 5 to some value to differentiate with others. And then using PCH for the color.

Please advise. Thanks.


        [[alternative HTML version deleted]]

R-help_at_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. Received on Fri 23 May 2008 - 12:59:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 25 May 2008 - 00:30:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive