R - Approximate Equation for set of points -
i have 2 vectors x , y.
y <- c(0.0575, 0.1137, 0.2018, 0.3228, 0.5331, 0.8771, 1.0000) x <- c(0.0040, 0.0105, 0.0258, 0.0540, 0.1210, 0.3419, 1.0000) which can plot relationship between them.
plot(y~x) is there means can approximate equation relationship between these vectors?
i can fit loess line doesn't allow me extract equation.
lo <- loess(y~x) i looking approximation not sure how accomplish within r.

Comments
Post a Comment