bfast2 / bfast

Breaks For Additive Season and Trend
https://bfast2.github.io
GNU General Public License v2.0
41 stars 15 forks source link

bfast01 cannot handle a frequency of 1 #99

Closed paulonbernardino closed 2 years ago

paulonbernardino commented 2 years ago

The cut() function, used by bfast01, cannot handle time series with a frequency of 1, returning the following error: Error in cut.default(cycle(y), if (sbins > 1) sbins else frequency(y) * : invalid number of intervals

GreatEmerald commented 2 years ago

Should be fixed in #100, please test.