From d090c5c7e91a61a3060821789f346da52a3812e1 Mon Sep 17 00:00:00 2001
From: unknown <olivier.delaigue@ANPI1430.antony.irstea.priv>
Date: Tue, 17 Jan 2017 16:27:43 +0100
Subject: [PATCH] v1.0.3 vignette updated

---
 inst/doc/airGR.R    |  2 +-
 inst/doc/airGR.Rmd  |  8 ++++----
 inst/doc/airGR.html | 18 ++++++++++++++----
 vignettes/airGR.Rmd |  8 ++++----
 4 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/inst/doc/airGR.R b/inst/doc/airGR.R
index 7dd1ff95..cdb12d12 100644
--- a/inst/doc/airGR.R
+++ b/inst/doc/airGR.R
@@ -42,7 +42,7 @@ OutputsModel <- RunModel_GR4J(InputsModel = InputsModel, RunOptions = RunOptions
 str(OutputsModel)
 
 ## ----eval=F--------------------------------------------------------------
-#  plot_OutputsModel(OutputsModel = OutputsModel, Qobs = BasinObs$Qmm[Ind_Run])
+#  plot(OutputsModel, Qobs = BasinObs$Qmm[Ind_Run])
 
 ## ------------------------------------------------------------------------
 OutputsCrit <- ErrorCrit_NSE(InputsCrit = InputsCrit, OutputsModel = OutputsModel)
diff --git a/inst/doc/airGR.Rmd b/inst/doc/airGR.Rmd
index 629e4bf9..ef511af3 100644
--- a/inst/doc/airGR.Rmd
+++ b/inst/doc/airGR.Rmd
@@ -230,18 +230,18 @@ str(OutputsModel)
 
 ## Results preview
 
-Although it is possible for the user to design its own graphics from the outputs of the `RunModel*()` functions, the **airGR** package offers the possibility to make use of the `plot_OutputsModel()` function. This function returns a dashboard of results including various graphs (depending on the model used): 
+Although it is possible for the user to design its own graphics from the outputs of the `RunModel*()` functions, the **airGR** package offers the possibility to make use of the `plot.OutputsModel()` function (or `plotl()` with a `OutputsModel` object). This function returns a dashboard of results including various graphs (depending on the model used): 
 
   * time series of total precipitation and simulated streamflows (and observed streamflows if provided)
   * interannual median monthly simulated streamflows (and monthly observed streamflows if provided)
-  * correlation plot between simulated and observed streamflows (if observed streamflows provided)
   * cumulative frequency plot for simulated streamflows (and for observed streamflows if provided)
+  * correlation plot between simulated and observed streamflows (if observed streamflows provided)
   
 ```{r,eval=F}
-plot_OutputsModel(OutputsModel = OutputsModel, Qobs = BasinObs$Qmm[Ind_Run])
+plot(OutputsModel, Qobs = BasinObs$Qmm[Ind_Run])
 ```
 
-Moreover, if the CemaNeige model is used, the simulated snowpack time series are plotted. 
+Moreover, if the CemaNeige model is used, the temperature and the simulated snowpack time series are plotted. 
 
 
 ## Efficiency criterion
diff --git a/inst/doc/airGR.html b/inst/doc/airGR.html
index 014d86b9..f282dd18 100644
--- a/inst/doc/airGR.html
+++ b/inst/doc/airGR.html
@@ -95,6 +95,16 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
 <p>In the following example, we use a data sample contained in the package. For real applications, the user has to import its data into <strong>R</strong> and to prepare it with an adequate data.frame format as described below.</p>
 <p>First, it is necessary to load the <strong>airGR</strong> package:</p>
 <div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(airGR)</code></pre></div>
+<pre><code>## 
+## To cite airGR in publications use these two references:
+## 
+##   Coron, L., Thirel, G., Delaigue, O., Perrin, C. and Andréassian,
+##   V. (submitted). airGR: A suite of lumped hydrological models in
+##   an R-package. Environmental Modelling and software.
+## 
+##   Coron, L., Perrin, C. and Michel, C. (2017). airGR: Suite of GR
+##   hydrological models for precipitation-runoff modelling. R
+##   package version 1.0.4. https://webgr.irstea.fr/airGR/?lang=en.</code></pre>
 <p>This is an example of a <code>data.frame</code> of hydrometeorological observations time series for a fictional catchment included in the <strong>airGR</strong> package that contains:</p>
 <ul>
 <li><em>DatesR</em>: dates in the POSIXt format</li>
@@ -297,15 +307,15 @@ Param</code></pre></div>
 </div>
 <div id="results-preview" class="section level2">
 <h2>Results preview</h2>
-<p>Although it is possible for the user to design its own graphics from the outputs of the <code>RunModel*()</code> functions, the <strong>airGR</strong> package offers the possibility to make use of the <code>plot_OutputsModel()</code> function. This function returns a dashboard of results including various graphs (depending on the model used):</p>
+<p>Although it is possible for the user to design its own graphics from the outputs of the <code>RunModel*()</code> functions, the <strong>airGR</strong> package offers the possibility to make use of the <code>plot.OutputsModel()</code> function (or <code>plotl()</code> with a <code>OutputsModel</code> object). This function returns a dashboard of results including various graphs (depending on the model used):</p>
 <ul>
 <li>time series of total precipitation and simulated streamflows (and observed streamflows if provided)</li>
 <li>interannual median monthly simulated streamflows (and monthly observed streamflows if provided)</li>
-<li>correlation plot between simulated and observed streamflows (if observed streamflows provided)</li>
 <li>cumulative frequency plot for simulated streamflows (and for observed streamflows if provided)</li>
+<li>correlation plot between simulated and observed streamflows (if observed streamflows provided)</li>
 </ul>
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">plot_OutputsModel</span>(<span class="dt">OutputsModel =</span> OutputsModel, <span class="dt">Qobs =</span> BasinObs$Qmm[Ind_Run])</code></pre></div>
-<p>Moreover, if the CemaNeige model is used, the simulated snowpack time series are plotted.</p>
+<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">plot</span>(OutputsModel, <span class="dt">Qobs =</span> BasinObs$Qmm[Ind_Run])</code></pre></div>
+<p>Moreover, if the CemaNeige model is used, the temperature and the simulated snowpack time series are plotted.</p>
 </div>
 <div id="efficiency-criterion" class="section level2">
 <h2>Efficiency criterion</h2>
diff --git a/vignettes/airGR.Rmd b/vignettes/airGR.Rmd
index 629e4bf9..ef511af3 100644
--- a/vignettes/airGR.Rmd
+++ b/vignettes/airGR.Rmd
@@ -230,18 +230,18 @@ str(OutputsModel)
 
 ## Results preview
 
-Although it is possible for the user to design its own graphics from the outputs of the `RunModel*()` functions, the **airGR** package offers the possibility to make use of the `plot_OutputsModel()` function. This function returns a dashboard of results including various graphs (depending on the model used): 
+Although it is possible for the user to design its own graphics from the outputs of the `RunModel*()` functions, the **airGR** package offers the possibility to make use of the `plot.OutputsModel()` function (or `plotl()` with a `OutputsModel` object). This function returns a dashboard of results including various graphs (depending on the model used): 
 
   * time series of total precipitation and simulated streamflows (and observed streamflows if provided)
   * interannual median monthly simulated streamflows (and monthly observed streamflows if provided)
-  * correlation plot between simulated and observed streamflows (if observed streamflows provided)
   * cumulative frequency plot for simulated streamflows (and for observed streamflows if provided)
+  * correlation plot between simulated and observed streamflows (if observed streamflows provided)
   
 ```{r,eval=F}
-plot_OutputsModel(OutputsModel = OutputsModel, Qobs = BasinObs$Qmm[Ind_Run])
+plot(OutputsModel, Qobs = BasinObs$Qmm[Ind_Run])
 ```
 
-Moreover, if the CemaNeige model is used, the simulated snowpack time series are plotted. 
+Moreover, if the CemaNeige model is used, the temperature and the simulated snowpack time series are plotted. 
 
 
 ## Efficiency criterion
-- 
GitLab