Function to calculate the residual sum of squares between the measured and simulated drawdown.

residual_sum_squares(par, ptest, model)

Arguments

par

A list with the parameters of the model.

ptest

A pumping_test object.

model

A character string with the name of the model

Value

The numeric value of the residual sum of squares

See also