Description Usage Arguments Details Value Examples
Check for valid parameters
1 | check_params(params)
|
params |
|
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
Returns the aquifer type, depending on whether Dxx is specified ("confined") or PHIxx is specified ("unconfined")
1 2 3 4 5 6 7 8 | library(genevoisgame)
check_params(example_params_confined)
check_params(example_params_unconfined)
## Not run: 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)
## Not run: check_params(params[,-ncol(example_params_confined):-1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.