[R] scatter plot question

Tim Cavileer
Wed, 04 Mar 2009 18:38:23 -0000

At 12:19 AM 3/4/2009, you wrote:
>plot(x,rho,pch=id)

Or this.
Tim

 > dat
   id  x rho
1  A  1 0.1
2  B 20 0.5
3  C  2 0.9

 > labels<-dat$id
 > labels
[1] "A" "B" "C"
 > plot(dat$x,dat$rho,pch=labels)