Open arnaud-feldmann opened 1 year ago
Same thing for the other side of the conversion :
as_tsibble(ts(matrix(1:12, dimnames = list(NULL, "all")), start = 2000, frequency = 12))
Would be, I think, nicer, if as_tsibble.ts would be allowed not to drop the dimension of the ts. But it's less disturbing IMO as it is possible to force the call to as_tsibble.mts by modifying the class attribute of your ts
Hi, Would it be possible to add something something like a drop=FALSE arg to as.ts.tbl_ts that would always convert a tibble with a key to a mts ? I think that would allow smoother conversions.
Thanks,
Arnaud