Description Usage Arguments Value Author(s) See Also Examples
Does a linear model of trend and optional acceleration.
1 | polynomial.fit(zoo,degree=1)
|
zoo |
a zoo timeseries used for analysis |
degree |
The degree of the fitted polynomial (degree 1=line, degree 2=parabola). Degree 1 is used for including sea level rise. Degree 2 is for including both rise and deceleration or acceleration. |
lm |
An object of class |
Fedor Baart
1 2 3 | data(dutch)
zoo <- dutch[[1]]$zoo
polynomial.fit(zoo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.