I have a logarithmic curve in x and y data (I know the curve is smooth and have 127 data points). Im trying to use R to find the equation for calculating Y when X = N.
I have put my data into R
x = c(0, 1, 2, 3, 4...
y = c(0 , 31.6 , 33.3 , 35.1 , 36.9....
Then can graph the data using
plot(x,y)
So I can see my curve is smooth.
But then Im stuck on how to get R to output an equation I can use for calculating Y when X = N
I have done a least squares regression and can find the residuals. However, Im stuck on how to get from the residuals to the equation I need for calculating Y.