search for: loess_curve

Displaying 1 result from an estimated 1 matches for "loess_curve".

2012 Nov 20
1
Closest fit data to a particular formula
...on for loess - it seems that I can do this by supplying a formula.. but I have not had much luck. Perhaps I am reading the documentation incorrectly. Here is my current loess line code: mg.lo = loess(y ~ x, mg, span=0.25) mg$x_c <- predict(mg.lo) which produces a curve like the attached file loess_curve.png. and I would like to have a curve "something like" the arccot in the attached file arccotangent.png (from wikipedia), but all x values are positive - meaning just the best fit of the sample data to that type of curve.. starts high and finishes low but doesn't go below zero and on...