Skip to content
Commit 34c4da3d authored by mitchelloharawild's avatar mitchelloharawild
Browse files

Made forecast.lm() always generate trend+season into data

Fixes issue when functions of trend and season are used, without using trend and season as variables themselves.

For example:
```R
fit <- tslm(AirPassengers~poly(trend,3)+season)
forecast(fit, h=12)
```
Would error on not finding trend.
parent 55ecc70e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment