Hi all, 

 

I would like to create a scatter plot of two variables (y, x)  whith third 
value (z) written on the plot? After that i would like to add a line 
(Y=0.7*(x-20)) to the graph. 

 

I tried 

plot(x~y)

 

but there is no command for the third vairable to be shown on the graph

also i can't find a way to add a Y=x*(0.7-20) to the chart.

 

Thanks, m


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to