Learn R Programming

HydroMe (version 2.0-1)

HydroMe2-package: R codes for estimating water retention and infiltration model parameters using experimental data

Description

This package is version 2 of HydroMe v.1 package. It estimates the parameters in infiltration and water retention models by curve-fitting method. The models considered are those that are commonly used in soil science. It has new models for water retention characteristic curve and debugging of errors in HydroMe v.1

Arguments

Details

Package: HydroMe2
Type: Package
Version: 1.0
Date: 2013-04-29
License: GPL

The package contains hydraulic functions whose parameters are estimated from experimental data. The functions are supposed to be specified, the input data, and associated parameters declared in a standard regression modelling fashion. Where starting variables are needed, the package has a function known as Dstart for determining the starting variables

References

Omuto CT and Gumbe LO. 2009. Estimating water infiltration and retention characteristics using a computer program in R. Computers and Geosciences 35: 579-585

Examples

Run this code
# NOT RUN {
data(infilt)
require("minpack.lm")
gamp.ns <- nlsLM(Rate ~ SSgampt(Time,ks,A), infilt)
summary(gamp.ns)
data(isric)
isric1 <- isric[1:32,]
require("nlme")
omuto <- nlsList(y~SSomuto(x,ths1,alp1,ths2,alp2)|Sample, isric1)
omuto.nlme <- nlme(omuto)## for fitting mixed-effects models
summary(omuto.nlme)
# }

Run the code above in your browser using DataLab