business-science / anomalize

Tidy anomaly detection
https://business-science.github.io/anomalize/
337 stars 61 forks source link

Using time_decompose(count,method='twitter') #58

Open Steviey opened 3 years ago

Steviey commented 3 years ago

Hi!

using: time_decompose(count,method='twitter')

gives me the error... <simpleError in stats::stl(., s.window = "periodic", robust = TRUE): series is not periodic or has less than two periods>

Is this the right/intended error message? I'm confused whether the twitter method is used instead of stl at all.

Thank you Matt.

mdancho84 commented 3 years ago

You should be able to tell if Twitter (uses piecewise medians) is used if you visualize the time series decomposition