I have two points (5,0.45) & (6,0.50)
I need to find the value when x=5.019802 by linear interpolation.
But how to code it in R?
I got code below but just got a graph insdeed.
You just need to specify an
approx(x,y,xout=5.019802) $x  5.019802 $y  0.4509901