Commit 58182222 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.6.10.4 docs: rename LAG into Lag in help pages, vignette, comments ant test

parent 4ce6ecc7
Pipeline #19777 canceled with stages
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.6.10.3
Version: 1.6.10.4
Date: 2021-01-29
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -2,7 +2,7 @@
### 1.6.10.3 Release Notes (2021-01-29)
### 1.6.10.4 Release Notes (2021-01-29)
#### New features
......
......@@ -3,7 +3,7 @@ RunModel <- function(InputsModel, RunOptions, Param, FUN_MOD) {
FUN_MOD <- match.fun(FUN_MOD)
if (inherits(InputsModel, "SD")) {
# LAG Model take one parameter at the beginning of the vector
# Lag model take one parameter at the beginning of the vector
iFirstParamRunOffModel <- 2
} else {
# All parameters
......
......@@ -16,7 +16,7 @@ TransfoParam_Lag <- function(ParamIn, Direction) {
stop("'Direction' must be a character vector of length 1 equal to 'RT' or 'TR'")
}
if (ncol(ParamIn) != NParam) {
stop(sprintf("the LAG model requires %i parameters", NParam))
stop(sprintf("the Lag model requires %i parameters", NParam))
}
......
......@@ -170,7 +170,7 @@ ParamDown2 <- OutputsCalibDown2$ParamFinalR
## Identification of Lag parameter
The theoretical LAG parameter should be equal to:
The theoretical Lag parameter should be equal to:
```{r}
Lag <- InputsModelDown1$LengthHydro / (2 * 86400)
......
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