fit: fit

Description Usage Arguments Value Author(s) See Also Examples

View source: R/pumpingtest.R

Description

Generic function to estimate the aquifer parameters from a pumping test. This function uses nonlinear least squares to estimate these parameters.

Usage

1
fit(ptest, model, control.par, trace = F)

Arguments

ptest

A pumping_test object

model

Character string specifying the model used in the estimation

control.par

A list with parameters of the parameter estimation using nonlinear regression

trace

A logical flag indicating if the results of the nonlinear regression are printed on the screen

Value

A list with the following entries:

Author(s)

Oscar Garcia-Cabrejo khaors@gmail.com

See Also

Other base functions: additional.parameters<-, confint.pumping_test, confint_bootstrap, confint_jackniffe, confint_wald, estimated<-, evaluate, fit.optimization, fit.parameters<-, fit.sampling, hydraulic.parameter.names<-, hydraulic.parameters<-, model.parameters, model<-, plot.pumping_test, plot_model_diagnostic, plot_sample_influence, plot_uncert, print.pumping_test, pumping_test, simulate, summary.pumping_test

Examples

1
2
3
4
5
6
7
#Fit test from confined aquifer
data(theis)
ptest <- pumping_test('Well1', Q = 1.388e-2, r = 250, t = theis$t, s = theis$s)
res_th <- fit(ptest, 'theis')
print(res_th)
#Fit test from confined aquifer
res_cj <- fit(ptest, 'cooper_jacob')

khaors/pumpingtest documentation built on Nov. 15, 2019, 8:10 p.m.