memc_sensrange | R Documentation |
Given a MEM model configuration, estimate the global parameter sensitivity.
memc_sensrange(config, t, x, parRange, dist, ...)
config |
a MEMC model configuration object, either one of the pre-built configurations listed in |
t |
vector of the time steps to run the model at |
x |
vector of the parameters or initial model pool sizes that will be varied |
parRange |
data frame of the min/max parameter values |
dist |
str for the distribution according to which the parameters will be sampled from, options" "unif" (uniformly random samples), "norm", (normally distributed random samples), "latin" (latin hypercube distribution), and "grid" (parameters arranged on a grid). |
... |
additional arguments passed to |
The results of FME
::sensRange
.
Other sensitivity:
memc_sensfun()
## Not run:
# Test the sensitivity of the MEND output for V_p, K_p, V_m
pars <- c("V_d" = 3.0e+00,"V_p" = 1.4e+01,"V_m" = 2.5e-01)
prange <- data.frame(min = pars - pars * 0.75,
max = pars + pars * 0.75)
t <- floor(seq(0, 365, length.out = 10))
out <- memc_sensrange(config = MEND_config, t = t, x = pars,
parRange = prange, dist = "latin", num = 10)
plot(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.