Using R in Water Resources Education
DOI:
https://doi.org/10.31686/ijier.vol3.iss10.451Abstract
This review paper will deal with the possibilities of applying the R programming language in water resources and hydrologic applications in education and research. The objective of this paper is to present some features and packages that make R a powerful environment for analysing data from the hydrology and water resources management fields, hydrological modelling, the post processing of the results of such modelling, and other task. R is maintained by statistical programmers with the support of an increasing community of users from many different backgrounds, including hydrologists, which allows access to both well established and experimental techniques in various areas.
References
J.M. Chambers, and T.J. Hastie, Statistical Models in S, Pacific Grove, California, 1992.
W.N. Venables, and D.M. Smith, “An Introduction to R”, (1 Oct, 2015), URL: http://www.cran.r-project.org/doc/manuals/R-intro.pdf .
G. Spencer, D.R. Sundar, and F. Romain, “Searching Help Pages of R Packages”, The R Journal 1, 2009, 56-59. DOI: https://doi.org/10.32614/RJ-2009-017
K.R. Ryberg, and A.V. Vecchia, waterData: “An R Package for Retrieval, Analysis, and Anomaly Calculation of Daily Hydrologic Time Series Data”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=waterData
J. Honaker, G. King, and M. Blackwell, “Amelia II: A Program for Missing Data”, Journal of Statistical Software 45, 2011, 1-47. DOI: https://doi.org/10.18637/jss.v045.i07
S. Van Buuren, and K. Groothuis-Oudshoorn, “Mice: Multivariate Imputation by Chained Equations in R”, Journal of Statistical Software 45, 2011, 1-47. DOI: https://doi.org/10.18637/jss.v045.i03
T. Lumley, “mitools: Tools for Multiple Imputation of Missing Data. R package version 2.2.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=mitools .
M. Templ, A. Alfons, A. Kowarik, and B. Prantner, “VIM: Visualization and Imputation of Missing Values. R package version 4.0.0.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=VIM .
A.D. Jassby, and J.E. Cloern, “wq: Some Tools for Exploring Water Quality Monitoring Data. R package version 0.3-11.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=wq .
M. Bigiarini-Zambrano, “hydroTSM: Time Series Management, Analysis and Interpolation for Hydrological Modelling. R Package version 0.4-2-1. (Oct. 10, 2015), URL: http://CRAN.R-project.org/package=hydroTSM .
M. Bigiarini-Zambrano and, R. Rojas, “A Model-Independent Particle Swarm Optimisation Software for Model Calibration”, Environmental Modelling & Software 43, 2013, 5-25. DOI: https://doi.org/10.1016/j.envsoft.2013.01.004
M.L. Delignette-Muller, R. Pouillot, J.B. Denis, and C. Dutang, “fitdistrplus: Help to Fit of a Parametric Distribution to Non-Censored or Censored Data”, (1 Oct, 2015), URL: http://riskassessment.r-forge.r-project.org
S. Coles, An Introduction to Statistical Modeling of Extreme Values, Springer-Verlag, London, 2001.[14] M. Ribatet, “POT: Generalized Pareto Distribution and Peaks Over Threshold. R package version 1.1-3.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=POT .
G. Pujol, B. Iooss, and A. Janol, Sensitivity: Sensitivity Analysis. R package version 1.7. (1 Oct, 2015), URL: http://CRAN.R-project.org/package=sensitivity .
D. Reusser, and T. Francke, “wasim: Visualisation and Analysis of Output Files of the Hydrological Model WASIM. R package version 1.1.2.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=wasim .
Y. Wu, and S. Liu, “Automating Calibration, Sensitivity and Uncertainty Analysis of Complex Models Using the R Package Flexible Modeling Environment (FME)—SWAT as an Example”, Environmental Modelling & Software 31, 2012, 99-109. DOI: https://doi.org/10.1016/j.envsoft.2011.11.013
K. Soetaert, and T. Petzoldt, “Inverse Modelling, Sensitivity and Monte Carlo Analysis in R using Package FME”, Journal of Statistical Software 33, 2010, 1-28. DOI: https://doi.org/10.18637/jss.v033.i03
J.G. Arnold, R. Srinivasan, R.S. Muttiah, and J.R. Williams, “Large Area Hydrologic Modeling and Assessment; Part 1— Model Development”, Journal of the American Water Resources Association 34, 1998, 73-89. DOI: https://doi.org/10.1111/j.1752-1688.1998.tb05961.x
L. See, D. Solomatine, R. Abrahart, and E. Toth, “Computational Intelligence and Technological Developments in Water Science Applications”, Hydrological Sciences Journal 52, 2007, 391-396. DOI: https://doi.org/10.1623/hysj.52.3.391
R.J. Abrahart, F. Anctil, P. Coulibaly, Ch.W. Dawson, N.J. Mount, L. See, A.Y. Shamseldin, D. Solomatine, D. Toth, and R.L. Wilby, “Two decades of anarchy? Emerging Themes and Outstanding Challenges for Neural Network River Forecasting”, Progress in Physical Geography 36, 2012, 480-513. DOI: https://doi.org/10.1177/0309133312444943
P.C. Young, “Hypothetico-Inductive Data-Based Mechanistic Modeling of Hydrological Systems”, Water Resources Research 49 DOI: https://doi.org/10.1002/wrcr.20068
A. Montanari, G. Young, H.H.G. Savenije, D. Hughes, T. Wagener, L.L. Ren, D. Koutsoyiannis, C. Cudennec, E. Toth, S. Grimaldi, G. Blöschl, M. Sivapalan, K. Beven, H. Gupta, M. Hipsey, B. Schaefli, B. Arheimer, E. Boegh, S.J. Schymanski, G. Di Baldassarre, B. Yu, P. Hubert, Y. Huang, A. Schumann, D.A. Post, V. Srinivasan, C. Harman, S. Thompson, M. Rogger, A. Viglione, H. McMilan, G. Characklis, Z. Pang, and V. Belyaev, “Panta Rhei-Everything Flows : Change in hydrology and society-The IAHS Scientific Decade 2013–2022”, Hydrological Sciences Journal 58, 1256-1275. DOI: https://doi.org/10.1080/02626667.2013.809088
Kuhn, M. S. Weston, A. Williams, Ch. Keefer, A. Engelhardt, T. Cooper, Z. Mayer, Z.: “caret: Classification and Regression Training. R package version 6.0-22.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=caret .
M. Kuhn, J. Kjell, Applied Predictive Modeling. Springer, New York, 2013. DOI: https://doi.org/10.1007/978-1-4614-6849-3
G.J. Williams, “Rattle: A Data Mining GUI for R.”, The R Journal 1, 2009, 45-55. DOI: https://doi.org/10.32614/RJ-2009-016
F.T. Andrews, B.F.W. Croke, and A.J. Jakeman, “An Open Software Environment for Hydrological Model Assessment and Development”, Environmental Modelling & Software 26, 2011, 1171-1185. DOI: https://doi.org/10.1016/j.envsoft.2011.04.006
J. Parajka, R. Merz, and G. Bloschl, “Uncertainty and Multiple Objective Calibration in Regional Water Balance Modelling: Case Study in 320 Austrian Catchments”, Hydrological Processes 21, 2007, 435-446. DOI: https://doi.org/10.1002/hyp.6253
E. Cordano, and E. Eccel, “RMAWGEN: RMAWGEN (R Multi-Site Auto-Regressive Weather GENerator), a Package to Generate Daily Time Series of Precipitation and Temperature from Monthly Mean Values. R package version 1.2.6.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=RMAWGEN .
M. Bigiarini-Zambrano, “hydroGOF: Goodness-of-Fit Functions for Comparison of Simulated and Observed Hydrological Time Series. R package version 0.3-7.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=hydroGOF .
R. Bivand, E.Pebesma, V. Gomez-Rubio, Applied Spatial Data Analysis with R, Springer, New York, 2013. DOI: https://doi.org/10.1007/978-1-4614-7618-4
V. Gomez-Rubio, and A. Lopez-Quilez, “RArcInfo: Using GIS Data with R “, Computers & Geosciences 31, 2005, 1000-1006. DOI: https://doi.org/10.1016/j.cageo.2005.02.009
R. Bivand, and N. Lewin-Koh, Maptools: Tools for Reading and Handling Spatial Objects. R package version 0.8-27.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=maptools .[34] B. Stabler, “Shapefiles: Read and Write ESRI Shapefiles. R package version 0.7.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=shapefiles .
R. Bivand, T. Keitt, and B. Rowlingson, “rgdal: Bindings for the Geospatial Data Abstraction Library. R package version 0.8-14.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=rgdal .
R.J. Hijmans, “Raster: Geographic Data Analysis and Modeling. R package version 2.1-49.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=raster .
O. Perpinan, and R.J. Hijmans, “rasterVis: Visualization Methods for the Raster Package. R package version 0.27.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=rasterVis .
R. Bivand, and C. Rundel, “rgeos: Interface to Geometry Engine - Open Source (GEOS). R package version 0.3-2.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=rgeos .
E.J. Pebesma, “Multi Variable Geostatistics in S: the gstat Package”, Computers & Geosciences 30, 2004, 683-691. DOI: https://doi.org/10.1016/j.cageo.2004.03.012
P.J. Diggle, P.J. Ribeiro jr., Model Based Geostatistics, Springer, New York, 2007. DOI: https://doi.org/10.1007/978-0-387-48536-2
H. Gerritsen, “mapplots: Data Visualisation on Maps. R package version 1.4.”, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=mapplots .
A. Brenning, “RPyGeo: ArcGIS Geoprocessing in R via Python. R package version 0.9-3.”, (1 Oct, 2015), http://CRAN.R-project.org/package=RPyGeo .
M. Neteler, and H. Mitasova, Open Source GIS: a GRASS GIS Approach. Springer, New York, 2008. DOI: https://doi.org/10.1007/978-0-387-68574-8
A. Haywood, and C. Stone, “Mapping Eucalypt Forest Susceptible to Dieback Associated with Bell Miners (Manorinamelanophys) Using Laser Scanning, Spot 5 and Ancillary Topographical Data. “, Ecological Modelling 222, 2009, 1174--1184. DOI: https://doi.org/10.1016/j.ecolmodel.2010.12.012
K. Hornik, Ch. Buchta, and A. Zeileis, “Open-Source Machine Learning: R meets Weka”, Computational Statistics 24, 2009, 225-232. DOI: https://doi.org/10.1007/s00180-008-0119-7
M. Loecher, “Overlays on Google Map Tiles in R. R package version 1.2.0.5. “, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=RgoogleMaps .
H. Wickham, ggplot2: Elegant Graphics for Data Analysis, Springer, New York, 2009. DOI: https://doi.org/10.1007/978-0-387-98141-3
M.J.A. Eugster, T. Schlesinger, “osmar: OpenStreetMap and R“, (1 Oct, 2015), URL: http://osmar.r-forge.r-project.org/RJpreprint.pdf .
E. Cordano, D. Andreis, F. Zottele, “soilwater: Implements Parametric Formulas for Soil Water Retention or Conductivity Curve. R package version 1.0.1. “, (1 Oct, 2015), URL: http://CRAN.R-project.org/package=soilwater .
J. Moeys, “soilwaterfun: Functions for Soilwater Retention and Soil Hydraulic Conductivity. R package version 1.0.3. “, (1 Oct, 2015), URL: https://r-forge.r-project.org/R/?group_id=863 .
M.T. Genuchten, “A Closed form Equation for Predicting the Hydraulic Conductivity of Unsaturated Soils. “, Soil Science Society of America Journal 44, 1980, 892-898. DOI: https://doi.org/10.2136/sssaj1980.03615995004400050002x
J. Moeys, “soilwaterptf: Pedotransfer Functions for soil Hydraulic Properties. R package version 1.0.4. “, (1 Oct, 2015), URL: www.R-forge.r-project.org/R/?group_id=863 .
J. Moeys, “soiltexture: Functions for Soiltexture Plot, Classification and Transformation. R package version 1.2.10. “, (1 Oct, 2015), URL:www.R-Forge.R-project.org/projects/soiltexture/ .
CH.T. Omuto, “HydroMe: R Codes for Estimating Water Retention and Infiltration Model Parameters Using Experimental Data. R package version 2.0. “, (11 Oct, 2014) URL: http://CRAN.R-project.org/package=HydroMe .
F. Brun, D. Makowski, D. Wallach, and J.W. Jones, “ZeBook: ZeBook Working with Dynamic Models for Agriculture and Environment. R package version 0.5. “, (11 Oct, 2014), URL: http://CRAN.R-project.org/package=ZeBook .
D. Wallach, Makowski, D, J.W. Jones, and F. Brun, Working with Dynamic Crop Models: Methods, Tools and Examples for Agriculture and the Environment, Academic Press Inc, San Diego, 2013.
Downloads
Published
Issue
Section
License
Copyright (c) 2015 Milan Cisty, Lubomir Celar
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.
Copyrights for articles published in IJIER journals are retained by the authors, with first publication rights granted to the journal. The journal/publisher is not responsible for subsequent uses of the work. It is the author's responsibility to bring an infringement action if so desired by the author for more visit Copyright & License.