R: Finding the intersect of two lines

后端 未结 2 1399
失恋的感觉
失恋的感觉 2020-12-20 14:49

I have this simple code that creates 3 matrices and plots them:

Y=matrix(c(1,2,3,4), nrow=1)
X1=matrix(c(2,3,3.5,4.5))
X2=matrix(c(0.1, 0.2, 0.6, 1.1), nrow         


        
2条回答
  •  星月不相逢
    2020-12-20 15:49

    identify() can be used to locate points in a scatter plot by clicking with the mouse in the plot area. Hope this is what you're looking for. Check it out!

提交回复
热议问题