[R] scatter plot question

Tim Cavileer tcavi at uidaho.edu
Wed Mar 4 19:38:23 CET 2009


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)




More information about the R-help mailing list