powered by
interpol1d(x,F0,minS,maxS)
F0 = c(1:10) minS = 1; maxS = 10; out = interpol1d(2.45,F0,1,10) out #since the function is the identity, the answer should be 2.45!
Run the code above in your browser using DataLab