On Thu, 2005-07-21 at 16:18 +0200, Clark Allan wrote:
hi all
a very simple question.
i have plot(x,y)
but i would like to add in on the plot the observation number associated
with each point.
how can this be done?
/
allan
If you mean the unique observation number associated with
Clark Allan wrote:
hi all
a very simple question.
i have plot(x,y)
but i would like to add in on the plot the observation number associated
with each point.
how can this be done?
See ?text
Uwe Ligges
/
allan
hi all
a very simple question.
i have plot(x,y)
but i would like to add in on the plot the observation number associated
with each point.
how can this be done?
/
allan__
R-help@stat.math.ethz.ch mailing list
Here is an example :
x - rnorm(20)
y - rnorm(20)
plot(x, y, type=n)
text(x, y, labels=as.character(1:20))
Also look into help(identify) if you want to point out specific points.
Regards, Adai
On Thu, 2005-07-21 at 16:18 +0200, Clark Allan wrote:
hi all
a very simple question.