I have the following data:
df <- data.frame(X=rnorm(10,0,1), Y=rnorm(10,0,1), Z=rnorm(10,0,1))
I need to map each variable against each other, so I used
plot(df)
He built each variable inside df against each other exactly what was required.
But I want to add a 45 degree line (where x = y) in each subtitle. I want to know how to do this? I also tried a loop, but due to โspace limitationsโ this could not happen (in fact, I have 5 variables inside df]. Please help.
thanks
source share