Commit 4ee024ad authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

fix: keep original colnames in the data.frame returned by SeriesAggreg.data.frame

Refs #133
Showing with 1 addition and 0 deletions
+1 -0
...@@ -184,6 +184,7 @@ SeriesAggreg.data.frame <- function(x, ...@@ -184,6 +184,7 @@ SeriesAggreg.data.frame <- function(x,
all.y = FALSE) all.y = FALSE)
tsAggreg <- tsAggreg[tsAggreg$Selec & tsAggreg$DatesRini, ] tsAggreg <- tsAggreg[tsAggreg$Selec & tsAggreg$DatesRini, ]
tsAggreg <- tsAggreg[, colnames(TabSeries0)] tsAggreg <- tsAggreg[, colnames(TabSeries0)]
colnames(tsAggreg)[1L] <- colnames(x)[1L]
return(tsAggreg) return(tsAggreg)
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment