Video/Audio Open Access

Wrap your model in an R package!

Rustler, Michael; Sonnenberg, Hauke

Citation Style Language JSON Export

  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.58029", 
  "title": "Wrap your model in an R package!", 
  "issued": {
    "date-parts": [
  "abstract": "<p>The groundwater drawdown model WTAQ-2, provided by the United States Geological Survey for free, has been &quot;wrapped&quot; into an R package, which contains functions for writing input files, executing the model engine and reading output files. By calling the functions from the R package a sensitivity analysis, calibration or validation requiring multiple model runs can be performed in an automated way. Automation by means of programming improves and simplifies the modelling process by ensuring that the WTAQ-2 wrapper generates consistent model input files, runs the model engine and reads the output files without requiring the user to cope with the technical details of the communication with the model engine. In addition the WTAQ-2 wrapper automatically adapts cross-dependent input parameters correctly in case one is changed by the user. This assures the formal correctness of the input file and minimises the effort for the user, who normally has to consider all cross-dependencies for each input file modification manually by consulting the model documentation. Consequently the focus can be shifted on retrieving and preparing the data needed by the model. Modelling is described in the form of version controlled R scripts so that its methodology becomes transparent and modifications (e.g. error fixing) trackable. The code can be run repeatedly and will always produce the same results given the same inputs. The implementation in the form of program code further yields the advantage of inherently documenting the methodology. This leads to reproducible results which should be the basis for smart decision making.</p>", 
  "author": [
      "family": "Rustler, Michael"
      "family": "Sonnenberg, Hauke"
  "id": "58029", 
  "note": "Slides & further information:", 
  "event-place": "Palo Alto, USA", 
  "type": "motion_picture", 
  "event": "The R User Conference 2016 (useR! 2016)"
All versions This version
Views 6565
Downloads 88
Data volume 1.1 GB1.1 GB
Unique views 6363
Unique downloads 88


Cite as