plot.CalGR.Rd 1.29 KB
 unknown committed Dec 16, 2016 1 2 3 4 5 6 7 \encoding{UTF-8} \name{plot.CalGR} \alias{plot.CalGR} \title{Time series plotting GR objects} \usage{  unknown committed Feb 16, 2017 8 \method{plot}{CalGR}(x, xlab = NULL, ylab = NULL, main = NULL,which = c("perf", "hist", "time"), ...)  unknown committed Dec 16, 2016 9 10 11 12 13 14 } \arguments{ \item{x}{[object of class \emph{CalGR}] see \code{\link{CalGR}} for details}  unknown committed Feb 16, 2017 15 16 17 18 19 20 21  \item{xlab}{(optional) [character] a label for the x axis: see \code{\link{title}}} \item{ylab}{(optional) [character] a label for the y axis (flow and rainfall): see \code{\link{title}}} \item{main}{(optional) [character] a main title for the plo: see \code{\link{title}}} \item{which}{[character] XXXX \code{"perf"}, \code{"hist"}, \code{"time"}}  unknown committed Dec 16, 2016 22   unknown committed Jan 19, 2017 23  \item{...}{other parameters to be passed through to plotting functions}  unknown committed Dec 16, 2016 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 } \description{Time series plotting GR objects} \seealso{ \code{\link{CalGR}} } \author{Olivier Delaigue} \examples{ library(airGR) ## data.frame of observed data data(L0123001) BasinObs2 <- BasinObs[, c("DatesR", "P", "E", "Qmm", "T")] ## Preparation of observed data for modelling  unknown committed Jan 11, 2017 46 w1 <- ObsGR(ObsBV = BasinObs2, TypeModel = "GR5J", CemaNeige = TRUE)  unknown committed Dec 16, 2016 47 48 49 50  ## Calibration step w2 <- CalGR(ObsGR = w1, CalCrit = c("NSE", "KGE", "KGE2", "RMSE"), WupPer = NULL, CalPer = c("1990-01-01", "1993-12-31"))  unknown committed Jan 11, 2017 51 52 53 plot(w2, "perf") plot(w2, "time") plot(w2, "hist")  unknown committed Dec 16, 2016 54 55 }