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
airGRteaching
Commits
4042ecb0
Commit
4042ecb0
authored
Jan 23, 2021
by
Delaigue Olivier
Browse files
v0.2.10.112 docs(man): add hyperlinks and/or example to plot and dyplot functions in all help pages
parent
c7067c1f
Pipeline
#20603
passed with stages
in 2 minutes and 6 seconds
Changes
7
Pipelines
16
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
4042ecb0
Package: airGRteaching
Type: Package
Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
Version: 0.2.10.11
1
Version: 0.2.10.11
2
Date: 2021-01-23
Authors@R: c(
person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
...
...
NEWS.md
View file @
4042ecb0
...
...
@@ -4,7 +4,7 @@
### 0.2.10.11
1
Release Notes (2021-01-23)
### 0.2.10.11
2
Release Notes (2021-01-23)
#### New features
...
...
man/CalGR.Rd
View file @
4042ecb0
...
...
@@ -44,7 +44,13 @@ CalGR(PrepGR, CalCrit = c("NSE", "KGE", "KGE2", "RMSE"),
\seealso{
airGRteaching
\code{\link{plot}} and \code{\link{dyplot}}
functions to display static and dynamic plots
\cr\cr
airGR
\code{\link[airGR]{CreateRunOptions}}, \code{\link[airGR]{CreateInputsCrit}}, \code{\link[airGR]{CreateCalibOptions}}, \code{\link[airGR]{ErrorCrit_RMSE}}, \code{\link[airGR]{ErrorCrit_NSE}}, \code{\link[airGR]{ErrorCrit_KGE}}, \code{\link[airGR]{ErrorCrit_KGE2}}, \code{\link[airGR]{Calibration_Michel}}
functions
}
\details{
...
...
@@ -67,7 +73,23 @@ PREP <- PrepGR(ObsDF = BasinObs2, HydroModel = "GR4J", CemaNeige = TRUE)
## Calibration step
CAL <- CalGR(PrepGR = PREP, CalCrit = "KGE2",
WupPer = NULL, CalPer = c("1990-01-01", "1993-12-31"))
## Structure of CalGR object
str(CAL)
## Parameter and criterion evolution during
## the steepest descent step of the calibration algorithm
plot(CAL, which = "iter")
## Plot diagnostics
plot(CAL, which = "perf")
## Static plot of observed and simulated time series
plot(CAL)
## Dynamic plot of observed and simulated time series
dyplot(CAL)
}
man/PrepGR.Rd
View file @
4042ecb0
...
...
@@ -51,7 +51,13 @@ PrepGR(ObsDF = NULL, DatesR = NULL, Precip = NULL, PotEvap = NULL,
\seealso{
airGRteaching
\code{\link{plot}} and \code{\link{dyplot}}
functions to display static and dynamic plots
\cr\cr
airGR
\code{\link[airGR]{CreateInputsModel}}
function
}
...
...
@@ -75,8 +81,17 @@ BasinObs2 <- BasinObs[, c("DatesR", "P", "E", "Qmm", "T")]
## Preparation of observed data for modelling when inputs set by using a data.frame
PREP <- PrepGR(ObsDF = BasinObs2, HydroModel = "GR4J", CemaNeige = FALSE)
## Structure of PrepGR object
str(PREP)
## Static plot of observed time series
plot(PREP)
## Dynamic plot of observed time series
dyplot(PREP)
## Preparation of observed data for modelling when inputs set by using independant vectors
PREP <- PrepGR(DatesR = BasinObs2$DatesR, Precip = BasinObs2$P,
...
...
man/SimGR.Rd
View file @
4042ecb0
...
...
@@ -50,7 +50,13 @@ SimGR(PrepGR, CalGR = NULL, Param, EffCrit = c("NSE", "KGE", "KGE2", "RMSE"),
\seealso{
airGRteaching
\code{\link{plot}} and \code{\link{dyplot}}
functions to display static and dynamic plots
\cr\cr
airGR
\code{\link[airGR]{CreateRunOptions}}, \code{\link[airGR]{CreateInputsCrit}}, \code{\link[airGR]{RunModel}}, \code{\link[airGR]{ErrorCrit_RMSE}}, \code{\link[airGR]{ErrorCrit_NSE}}, \code{\link[airGR]{ErrorCrit_KGE}}, \code{\link[airGR]{ErrorCrit_KGE2}}
functions
}
...
...
@@ -83,6 +89,18 @@ SIM <- SimGR(PrepGR = PREP, Param = CAL, EffCrit = "KGE2",
## Simulation step using model parameters set by the user
SIM <- SimGR(PrepGR = PREP, Param = c(270.426, 0.984, 108.853, 2.149), EffCrit = "KGE2",
WupPer = NULL, SimPer = c("1994-01-01", "1998-12-31"))
## Structure of SimGR object
str(SIM)
## Plot diagnostics
plot(SIM)
## Static plot of observed and simulated time series
plot(SIM, which = "ts")
## Dynamic plot of observed and simulated time series
dyplot(SIM)
}
man/dyplot.default.Rd
View file @
4042ecb0
...
...
@@ -50,6 +50,8 @@
\seealso{
airGRteaching static \code{\link{plot}} functions
\cr\cr
\code{\link{PrepGR}}, \code{\link{CalGR}}, \code{\link{SimGR}}
}
...
...
man/plot.Rd
View file @
4042ecb0
...
...
@@ -54,7 +54,15 @@ Also plot of the evolution of parameters and objective function during the cali
\seealso{
\code{\link{PrepGR}}
airGR
\code{\link[airGR]{plot.OutputsModel}}
function
\cr\cr
airGRteaching
\code{\link{dyplot}}
function to display dynamic plots
\cr\cr
\code{\link{PrepGR}}, \code{\link{CalGR}}, \code{\link{SimGR}}
}
...
...
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