Commit 7538d88e authored by Delaigue Olivier's avatar Delaigue Olivier Committed by Dorchies David
Browse files

v1.4.4.27 feat: new SeriesAggreg 2 method; SeriesAggreg function renamed to...

v1.4.4.27 feat: new SeriesAggreg 2 method; SeriesAggreg function renamed to SeriesAggreg.data.frame #41
by consequences, the order of the argument of SeriesAggreg.data.frame changed
parent d0c86f3c
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.4.4.26
Version: 1.4.4.27
Date: 2020-04-30
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -9,7 +9,7 @@ useDynLib(airGR, .registration = TRUE)
## S3 methods ##
#####################################
S3method("plot", "OutputsModel")
S3method("SeriesAggreg2", "data.frame")
......@@ -49,6 +49,9 @@ export(RunModel_GR6J)
export(RunModel_Lag)
export(SeriesAggreg)
export(SeriesAggreg2)
#export(SeriesAggreg2.data.frame)
#export(SeriesAggreg2.InputsModel)
#export(SeriesAggreg2.OutputsModel)
export(TransfoParam)
export(TransfoParam_CemaNeige)
export(TransfoParam_CemaNeigeHyst)
......
......@@ -4,10 +4,11 @@
### 1.4.4.26 Release Notes (2020-04-30)
### 1.4.4.27 Release Notes (2020-04-30)
#### New features
- Added <code>SeriesAggreg2()</code> method.
- Added <code>SeriesAggreg2()</code> function. This new verson of the <code>SeriesAggreg()</code> function allows to compute regimes.
......
SeriesAggreg2 <- function(TabSeries, Format, TimeFormat, NewTimeFormat, ConvertFun,
YearFirstMonth = 1, TimeLag = 0, verbose = TRUE) {
SeriesAggreg2 <- function(TabSeries,
Format, TimeFormat, NewTimeFormat,
YearFirstMonth = 1, TimeLag = 0,
verbose = TRUE,
...) {
UseMethod("SeriesAggreg2")
}
SeriesAggreg2.data.frame <- function(TabSeries, Format, TimeFormat, NewTimeFormat,
YearFirstMonth = 1, TimeLag = 0, verbose = TRUE, ..., ConvertFun) {
## Arguments checks
if (!missing(TimeFormat)) {
......
Markdown is supported
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