Hi R comm
I im getting an error when running the command ts_seasonal from TSstudio package:
Error:
ts_seasonal(tis1, type = "all")
Error in seq.default(from = start_minor, to = freq, by = 1) :
'from' must be a finite number
it is a ts objeck:
Time Series:
Start = 2019.99178082192
End = 2022.03024236038
Frequency = 52
dput:
structure(c(25%
= 25, 25%
= 18, 25%
= 37, 25%
= 29, 25%
= 33,
25%
= 43, 25%
= 33, 25%
= 46, 25%
= 41, 25%
= 37, 25%
= 53,
25%
= 46, 25%
= 24, 25%
= 17, 25%
= 40, 25%
= 13, 25%
= 52,
25%
= 38, 25%
= 40, 25%
= 32, 25%
= 43, 25%
= 42, 25%
= 24,
25%
= 26, 25%
= 43, 25%
= 26, 25%
= 29, 25%
= 43, 25%
= 49,
25%
= 41, 25%
= 32, 25%
= 32, 25%
= 20, 25%
= 37, 25%
= 17,
25%
= 12, 25%
= 33, 25%
= 36, 25%
= 23, 25%
= 25, 25%
= 41,
25%
= 25, 25%
= 40, 25%
= 9, 25%
= 57, 25%
= 19, 25%
= 58,
25%
= 20, 25%
= 58, 25%
= 70, 25%
= 33, 25%
= 13, 25%
= 6,
25%
= 31, 25%
= 34, 25%
= 34, 25%
= 16, 25%
= 25, 25%
= 9,
25%
= 15, 25%
= 15, 25%
= 44, 25%
= 35, 25%
= 22, 25%
= 33,
25%
= 24, 25%
= 34, 25%
= 22, 25%
= 23, 25%
= 17, 25%
= 11,
25%
= 22, 25%
= 16, 25%
= 10, 25%
= 33, 25%
= 19, 25%
= 16,
25%
= 12, 25%
= 20, 25%
= 14, 25%
= 21, 25%
= 33, 25%
= 12,
25%
= 23, 25%
= 33, 25%
= 20, 25%
= 28, 25%
= 32, 25%
= 32,
25%
= 19, 25%
= 13, 25%
= 20, 25%
= 27, 25%
= 13, 25%
= 17,
25%
= 25, 25%
= 20, 25%
= 28, 25%
= 12, 25%
= 21, 25%
= 20,
25%
= 16, 25%
= 28, 25%
= 9, 25%
= 1, 25%
= 33, 25%
= 19
), .Tsp = c(2019.99178082192, 2022.03024236038, 52), class = "ts")
Thanks