Welcome to the Soil Water project!

van Genuchten (1980) water retention function
Soil Water provides soil water retention functions and soil hydraulic conductivity functions and pedotransfer functions to estimate their parameter from easily available soil properties.

!!The project soilwater has mooved. The repository is now located on GitHub: https://github.com/julienmoeys/soilwater!!


Soil Water provides (1) the package "soilwaterfun", a collection of widely used soil water retention functions (van Genuchten, Brooks & Corey, Campbell) and soil hydraulic conductivity functions (Mualem-van Genuchten, Brooks & Corey, Campbell) and (2) the package "soilwaterptf", a collection of so called "pedotransfer functions" (PTFs) for estimating the parameters of soil water retention and hydraulic conductivity functions from easily available soil properties (typically the texture, organic carbon content and bulk density). At the moment, only Wösten et al. 1999 PTFs for the van Genuchten and Mualem-van Genuchten functions are implemented.

Where to find the package

Related projects

Other projects exists that provides useful soil-related R functions (toolboxes for the pedometrician):
Other packages that may interest soil scientists are:

Help wanted!

If you have some R functions implementing soil water retention functions or soil hydraulic conductivity functions or pedotransfer functions for estimating their parameters (published in peer-reviewed journals), please make them available to the R-soil-science community! (either in this package or in a dedicated package you may create). The only things needed are (1) the function's R code (2) some definition and units of the input parameters, (3) a working example, (4) one reference article and  (5) eventual dependences on other R packages.


The packages are provided with no guarantees of any king by the author. The packages have not yet been  used and tested extensively by external users, so if you use it for important work, please check the code of the functions (most of them are short and easy to understand). Please help me to make this package better by reporting any problem in the functions or their documentation.


For installing the package, try first:

    install.packages("soilwaterfun", repos = "http://R-Forge.R-project.org")
    install.packages("soilwaterptf", repos = "http://R-Forge.R-project.org")

If it doesn't work, or if you don't have the latest release of R, try instead:

    install.packages("soilwaterfun", repos = "http://R-Forge.R-project.org", type = "source")
    install.packages("soilwaterptf", repos = "http://R-Forge.R-project.org", type = "source")

Road map

(suceptible to changes):
Feedbacks on the package are welcome (contact details here).

Creative Commons License
This webpage is licenced under a Creative Commons Licence.

Document made with KompoZer