find_intercept.Rd
The function interpolates a linear model within two points, and finds at which x the curve has a specified y.
find_intercept(x, y, inter = 0)
x | number of x variable |
---|---|
y | number of y variable |
inter | number of y at which you want to calculate x |
#> [1] -0.1