R/change_functions.R
trend_fitting_functions.Rd
fit_lm_ll produces a simple model to estimate trends in short time series.
fit_lm_ll
fit_lm_ll(df) fit_glm_ll(df) fit_spline(df)
a data frame containing the columns "area" and "t" for time. Time can be an index or year.
an lm object
Aniko B. Toth anikobtoth@gmail.com