diff --git a/DESCRIPTION b/DESCRIPTION index 4212eba9b9112bac090e25ef9d0cc8ee94e36167..447b1d6091fc012e92f89d171147422fe264a478 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -28,7 +28,7 @@ Imports: utils Suggests: knitr, markdown, rmarkdown, - caRamel, coda, DEoptim, dplyr, FME, ggmcmc, hydroPSO, Rmalschains, + caRamel, coda, DEoptim, FME, ggmcmc, hydroPSO, Rmalschains, GGally, ggplot2, testthat Description: Hydrological modelling tools developed at INRAE-Antony (HYCAR Research Unit, France). The package includes several conceptual rainfall-runoff models (GR4H, GR5H, GR4J, GR5J, GR6J, GR2M, GR1A) that can be applied either on a lumped or semi-distributed way. A snow accumulation and melt model (CemaNeige) and the associated functions for the calibration and evaluation of models are also included. Use help(airGR) for package description and references. diff --git a/vignettes/V02.2_param_mcmc.Rmd b/vignettes/V02.2_param_mcmc.Rmd index 7d6091ceafe3c3433ef3a65db84ffb8a9b428648..ae1cf4d5b79bf05825ae1773e76315d5aeaf0100 100644 --- a/vignettes/V02.2_param_mcmc.Rmd +++ b/vignettes/V02.2_param_mcmc.Rmd @@ -15,8 +15,6 @@ library(airGR) library(coda) library(FME) library(ggmcmc) -library(dplyr) -# source("airGR.R") set.seed(123) load(system.file("vignettesData/vignetteParamMCMC.rda", package = "airGR")) ``` @@ -160,7 +158,7 @@ ggmcmc::ggs_traceplot(parDRAM) The posterior density for each parameter can then be visualised: ```{r, fig.width=6, fig.height=9, warning=FALSE} -burnParDRAM <- dplyr::filter(parDRAM, Iteration > 1000) # to keep only the second half of the series +burnParDRAM <- parDRAM[parDRAM$Iteration > 1000, ] # to keep only the second half of the series ggmcmc::ggs_density(burnParDRAM) ```