Generates a set of OAT (One-At-a-Time) samples based on provided parameter centers and boundaries.
Arguments
- par
A matrix or data frame specifying the parameter ranges. Each element is length 2 indicating the min and max values.
- par_center
(optional) A data frame or matrix of parameter centers. Default
par_center = 1
.- n_t
(optional) An integer specifying the parameter combination around, which you want to do the OAT analysis. Default
n_t = 10
.
Examples
if (FALSE) {
# Define parameter ranges
par <- data.frame("snomelt_tmp.hru | change = absval" = c(-1, 1),
"snofall_tmp.hru | change = absval" = c(-1, 1))
par_center <- 2
par_oat <- sample_oat(par, par_center)
}