diff --git a/DESCRIPTION b/DESCRIPTION index 5b9068a7ded0b61ea6752481cb531d71daf74e38..a418183b30c491b3a3ffb18795245f9ff8797966 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.1.2.26 +Version: 1.1.2.27 Date: 2019-01-18 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.rmd b/NEWS.rmd index cdc00dc3dd78dafd983b1d9eac77d16ce08d90ea..d48fe3503afa3c6d48f9fb8659847b2275731501 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -13,7 +13,7 @@ output: -### 1.1.2.26 Release Notes (2019-01-18) +### 1.1.2.27 Release Notes (2019-01-18) diff --git a/man/SeriesAggreg.Rd b/man/SeriesAggreg.Rd index 8b3be6396d220dbc3949475ecf6b4f98190c5c19..f85c512d119273c86b380b13ab9f7b60fb76ccf8 100644 --- a/man/SeriesAggreg.Rd +++ b/man/SeriesAggreg.Rd @@ -50,18 +50,17 @@ library(airGR) data(L0123002) ## preparation of the initial time series data frame at the daily time step -TabSeries <- data.frame(BasinObs$DatesR, BasinObs$P, BasinObs$E, BasinObs$T, BasinObs$Qmm) -TimeFormat <- "daily" +TabSeries <- BasinObs[, c("DatesR", "P", "E", "T", "Qmm")] ## conversion at the monthly time step -NewTimeFormat <- "monthly" -ConvertFun <- c("sum", "sum", "mean", "sum") -NewTabSeries <- SeriesAggreg(TabSeries = TabSeries, TimeFormat, NewTimeFormat, ConvertFun) +NewTabSeries <- SeriesAggreg(TabSeries = TabSeries, + TimeFormat = "daily", NewTimeFormat = "monthly", + ConvertFun = c("sum", "sum", "mean", "sum")) ## conversion at the yearly time step -NewTimeFormat <- "yearly" -ConvertFun <- c("sum", "sum", "mean", "sum") -NewTabSeries <- SeriesAggreg(TabSeries = TabSeries, TimeFormat, NewTimeFormat, ConvertFun) +NewTabSeries <- SeriesAggreg(TabSeries = TabSeries, + TimeFormat = "daily", NewTimeFormat = "yearly", + ConvertFun = c("sum", "sum", "mean", "sum")) }