Package: spsh 1.1.0

Tobias KD Weber

spsh: Estimation and Prediction of Parameters of Various Soil Hydraulic Property Models

Estimates model parameters of soil hydraulic property functions by inverting measured data. A wide range of hydraulic models, weighting schemes, global optimization algorithms, Markov chain Monte Carlo samplers, and extended statistical analyses of results are provided. Prediction of soil hydraulic property model parameters and common soil properties using pedotransfer functions is facilitated. Parameter estimation is based on identically and independentally distributed (weighted) model residuals, and simple model selection criteria (Hoege, M., Woehling, T., and Nowak, W. (2018) <doi:10.1002/2017WR021902>) can be calculated. The included models are the van Genuchten-Mualem in its unimodal, bimodal and trimodal form, the the Kosugi 2 parametric-Mualem model, and the Fredlund-Xing model. All models can be extended to account for non-capillary water storage and conductivity (Weber, T.K.D., Durner, W., Streck, T. and Diamantopoulos, E. (2019) <doi:10.1029/2018WR024584>. The isothermal vapour conductivity (Saito, H., Simunek, J. and Mohanty, B.P. (2006) <doi:10.2136/vzj2006.0007>) is calculated based on volumetric air space and a selection of different tortuosity models: (Grable, A.R., Siemer, E.G. (1968) <doi:10.2136/sssaj1968.03615995003200020011x>, Lai, S.H., Tiedje J.M., Erickson, E. (1976) <doi:10.2136/sssaj1976.03615995004000010006x>, Moldrup, P., Olesen, T., Rolston, D.E., and Yamaguchi, T. (1997) <doi:10.1097/00010694-199709000-00004>, Moldrup, P., Olesen, T., Yoshikawa, S., Komatsu, T., and Rolston, D.E. (2004) <doi:10.2136/sssaj2004.7500>, Moldrup, P., Olesen, T., Yoshikawa, S., Komatsu, T., and Rolston, D.E. (2005) <doi:10.1097/01.ss.0000196768.44165.1f>, Millington, R.J., Quirk, J.P. (1961) <doi:10.1039/TF9615701200>, Penman, H.L. (1940) <doi:10.1017/S0021859600048164>, and Xu, X, Nieber, J.L. Gupta, S.C. (1992) <doi:10.2136/sssaj1992.03615995005600060014x>).

Authors:Tobias KD Weber [aut, cre], Efstathios Diamantopoulos [ctb], Melanie Weynants [ctb]

spsh_1.1.0.tar.gz
spsh_1.1.0.zip(r-4.5)spsh_1.1.0.zip(r-4.4)spsh_1.1.0.zip(r-4.3)
spsh_1.1.0.tgz(r-4.4-any)spsh_1.1.0.tgz(r-4.3-any)
spsh_1.1.0.tar.gz(r-4.5-noble)spsh_1.1.0.tar.gz(r-4.4-noble)
spsh_1.1.0.tgz(r-4.4-emscripten)spsh_1.1.0.tgz(r-4.3-emscripten)
spsh.pdf |spsh.html
spsh/json (API)

# Install 'spsh' in R:
install.packages('spsh', repos = c('https://tkdweber.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • shpdata1 - Measured soil hydraulic property data

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 2 scripts 145 downloads 24 exports 17 dependencies

Last updated 5 years agofrom:2139fe8faa. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winNOTENov 14 2024
R-4.5-linuxNOTENov 14 2024
R-4.4-winNOTENov 14 2024
R-4.4-macNOTENov 14 2024
R-4.3-winNOTENov 14 2024
R-4.3-macNOTENov 14 2024

Exports:gofFunIbetainipopFunKvapFunlogLikFun.normnumMualemptf.cWptf.vG2BWresFunshypEstFunshypFunshypFun.01110shypFun.01210shypFun.01310shypFun.02110shypFun.03110shypFun.04110sncFunsncFun.01110sncFun.02110sncFun.04110transBoundFuntransFunweightFun

Dependencies:codacontfracDEoptimdeSolveellipticFMEhypergeolatticelhsMASSminpack.lmminqapracmarbibutilsRcppRdpackrootSolve

Readme and manuals

Help Manual

Help pageTopics
Goodness-of-fit and Information CriteriagofFun
Incomplete Beta FunctionIbeta
Generates an Initial Population of Transformed Soil Hydraulic Property Model ParametersinipopFun
Calculates the Isothermal Water Vapour ConductivityKvapFun
Calculation of the Log-likelihood assuming Identially, Independenzly and Normally Distributed errorslogLikFun.norm
Function to Numerically Compute the Mualem IntegralnumMualem
Title Corrected Weynants et al. (2009) Pedotransfer Functionptf.cW
Parameter Transfer Function for Weber et al.(2019) model.ptf.vG2BW
Calculation of the Objective Function ValueresFun
Measured soil hydraulic property datashpdata1
Wrapper function for the Estimation of Soil Hydrologic Property Model ParametersshypEstFun
Wrapper Function for all Supported Soil Hydraulic Property ModelsshypFun
van Genuchten-Mualem Soil Hydraulic Proptery ModelshypFun.01110
van Genuchten-Mualem bimodal Soil Hydraulic Propterty ModelshypFun.01210
van Genuchten-Mualem trimodal Soil Hydraulic Propterty ModelshypFun.01310
Unimodal Kosugi-Mualem Model (2 Parameter Model)shypFun.02110
Unimodal Fredlund-Xing - Mualem ModelshypFun.03110
Unimodal Brooks-Corey ModelshypFun.04110
Non-capillary Saturation Function to Extend Other FunctionssncFun
Unimodal van Genuchten Non-Capillary Saturation ModelsncFun.01110
Unimodal Kosugi Non-Capillary Saturation ModelsncFun.02110
Unimodal Brooks-Corey Non-Capillary Saturation ModelsncFun.04110
Creates Parameter Transformation and Backtransformation Rules for the Estimation ProceduretransBoundFun
Parameter Transformation and Back-transformationtransFun
Specification of Weights for the Data Groups Retention Data and Conductivity Data.weightFun