Thu Feb 27 08:25:52 2020 bilinear_test R version 3.4.4 (2018-03-15) bilinear computes the intercept and slope of the line through two points. x: [1] 4 7 y: [1] 2 4 z: [,1] [,2] [1,] 28 34 [2,] 31 35 xnew: [1] 2.5 3.0 3.5 ynew: [1] 5.0 5.5 6.0 znew <- bilinear ( x, y, z, xnew, ynew ) [1] 31.00000 32.41667 33.66667 bilinear_test Normal end of execution. Thu Feb 27 08:25:52 2020