[R] r: plots

allan clark allan at stats.uct.ac.za
Tue Feb 24 13:44:47 CET 2004


hi all

i have another probably simple question.

I have three variables say x, y and z. x and y are quite large and z is
relative small.
how can one plot the three variables on the same graph with two separate
axis?
(one for x and y and the other for z)

e.g.
x<-c(101,110,150,167,120)
y<-c(120,135,175,95,200)
z<-c(0.001, 0.15, 0.6, 0.8, 1)

regards
Allan




More information about the R-help mailing list