Skip to main content
U.S. flag

An official website of the United States government

A universal Model-R Coupler to facilitate the use of R functions for model calibration and analysis

January 1, 2014

Mathematical models are useful in various fields of science and engineering. However, it is a challenge to make a model utilize the open and growing functions (e.g., model inversion) on the R platform due to the requirement of accessing and revising the model's source code. To overcome this barrier, we developed a universal tool that aims to convert a model developed in any computer language to an R function using the template and instruction concept of the Parameter ESTimation program (PEST) and the operational structure of the R-Soil and Water Assessment Tool (R-SWAT). The developed tool (Model-R Coupler) is promising because users of any model can connect an external algorithm (written in R) with their model to implement various model behavior analyses (e.g., parameter optimization, sensitivity and uncertainty analysis, performance evaluation, and visualization) without accessing or modifying the model's source code.

Publication Year 2014
Title A universal Model-R Coupler to facilitate the use of R functions for model calibration and analysis
DOI 10.1016/j.envsoft.2014.08.012
Authors Yiping Wu, Shuguang Liu, Wende Yan
Publication Type Article
Publication Subtype Journal Article
Series Title Environmental Modelling and Software
Index ID 70188035
Record Source USGS Publications Warehouse
USGS Organization Earth Resources Observation and Science (EROS) Center