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
8e57ee51
Commit
8e57ee51
authored
Jan 18, 2019
by
Delaigue Olivier
Browse files
v1.1.2.27 CLEAN: example simplified in SeriesAggreg doc
parent
0a7b562c
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
8e57ee51
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.1.2.2
6
Version: 1.1.2.2
7
Date: 2019-01-18
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
8e57ee51
...
...
@@ -13,7 +13,7 @@ output:
### 1.1.2.2
6
Release Notes (2019-01-18)
### 1.1.2.2
7
Release Notes (2019-01-18)
...
...
man/SeriesAggreg.Rd
View file @
8e57ee51
...
...
@@ -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
NewT
imeFormat <- "monthly"
ConvertFun <- c("sum", "sum", "mean", "sum")
NewTabSeries <- SeriesAggreg(TabSeries = TabSeries, TimeFormat, NewTimeFormat, ConvertFun
)
NewT
abSeries <- SeriesAggreg(TabSeries = TabSeries,
TimeFormat = "daily", NewTimeFormat = "monthly",
ConvertFun = c("sum", "sum", "mean", "sum")
)
## conversion at the yearly time step
NewT
imeFormat <- "yearly"
ConvertFun <- c("sum", "sum",
"
m
ea
n", "sum")
NewTabSeries <- SeriesAggreg(TabSeries = TabSeries, TimeFormat, NewTimeFormat, ConvertFun
)
NewT
abSeries <- SeriesAggreg(TabSeries = TabSeries,
TimeFormat = "daily", NewTimeFormat =
"
y
ea
rly",
ConvertFun = c("sum", "sum", "mean", "sum")
)
}
...
...
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