Dear list,

I am looking to plot a line on a graph to show the 1:1 relationship, in order 
to demonstrate the pattern i have observed is off the line, however i am 
unsure. I have tried abline but i can not see a function to plot the 1:1?


Any help would be greatly appreciated

#generate data
y <- rnorm(30, mean=1.5, sd= 0.005)
x <- rnorm(30, mean=1.5, sd= 0.005)
plot(x,y)

Thanks,

Peter

______________________________________________
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