Say I have 3 variables such that
x=1:9
y=c(1,1,1,2,2,2,3,3,3)
z=6:14
How can I rearrange the data so that I can make a contour plot of the data with r?
I am getting the message
Error in contour.default(x, y, z) :
increasing 'x' and 'y' values expected
Thank you.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…