tlsLoess {groHMM} | R Documentation |
A 'total least squares'-like hack for LOESS. Works by rotating points 45 degrees, fitting LOESS, and rotating back.
tlsLoess(x, y, theta = -pi/4, span = 1)
x |
X values. |
y |
Y values. |
theta |
Amount to rotate, sets the ratio of variences that are assumed by the hack. Default: -pi/4 radians (45 degrees) for orthogonal regression. |
span |
The LOESS span parameter. Default: 1 |
List of input values and LOESS predictions.
Charles G. Danko