I have the following two dimensional data points, the first column is data ID
ID V1 V2
1 -9.2523712 1.751943612
2 -0.9799493 0.067998776
3 -0.9799493 0.067998776
4 3.2156859 1.088934239
5 3.4915597 1.097911743
6 3.4915597 1.097911743
7 -0.9799493 0.067998776
8 -0.9799493 0.067998776
9 -0.9799493 0.067998776
10 3.2156859 1.088934239
Assume this array is named as fit
, I plot these points as plot(fit[,2],fit[,3])
However, is that possible to mark each point with its ID on the plot? In addition, for some specific point, like ID 10, I would like to mark it with red color. How can I do that in R?