Extensible time series class that provides uniform handling of many R time series classes by extending zoo.
GNU General Public License v2.0
220
stars
71
forks
source link
Subsetting using [.xts drops classes when zero-width #359
Closed
shikokuchuo closed 1 year ago
Description
Subsetting using
[.xts
drops classes when zero-width.Think the culprit is the use of
.xts()
inif (length(j) == 0 ||
... This is another inconsistency for zero-width objects like #355 although unrelated.Expected behavior
All classes to be retained consistent with other subsetting.
Minimal, reproducible example
Session Info