check_params.Rd
Check for valid parameters
check_params(params)
params |
|
---|
Returns the aquifer type, depending on whether Dxx is specified ("confined") or PHIxx is specified ("unconfined")
To evaluate the game, a data.frame
or list
of paramers must be supplied to
evaluate_treaty
or evaluate_treaty_cases
. Generally speaking, these parameters
should be non-negative. The parameters must include, for all scenarios:
Qf, Qs
p0f, p0s
B
crs
rmT, rmN
gs, gf
es, ef
And additional parameters depending on the type of aquifer. For confined aquifers:
Dff, Dss, Dsf, Dfs
d0s, d0f
DsrT, DfrT
DsrN, DfrN
And for unconfined aquifers:
PHIff, PHIss, PHIsf, PHIfs
dBs, dBf, h0s, h0f
PHIsrT, PHIfrT
PHIsrN, PHIfrN
l
#> [1] "confined"check_params(example_params_unconfined)#> [1] "unconfined"if (FALSE) check_params(example_params_confined[,-ncol(example_params_confined):-1]) params <- data.frame(example_params_confined,gs=c(0.2,0.8)) check_params(params)#> [1] "confined"