Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
4ee024ad
Commit
4ee024ad
authored
Jul 15, 2021
by
Delaigue Olivier
Browse files
fix: keep original colnames in the data.frame returned by SeriesAggreg.data.frame
Refs
#133
parent
ed28715c
Pipeline
#24994
passed with stage
in 8 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
R/SeriesAggreg.data.frame.R
View file @
4ee024ad
...
...
@@ -184,6 +184,7 @@ SeriesAggreg.data.frame <- function(x,
all.y
=
FALSE
)
tsAggreg
<-
tsAggreg
[
tsAggreg
$
Selec
&
tsAggreg
$
DatesRini
,
]
tsAggreg
<-
tsAggreg
[,
colnames
(
TabSeries0
)]
colnames
(
tsAggreg
)[
1L
]
<-
colnames
(
x
)[
1L
]
return
(
tsAggreg
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment