Description Usage Arguments Value Author(s) Examples
RandomLHSPar samples parameters based on random Latin-Hypercube sampling within given parameter ranges
1 | RandomLHSPar(nexp, lower, upper, fixed = rep(FALSE, length(lower)))
|
nexp |
number of samples |
lower |
numeric vector of lower boundary values for each parameter |
upper |
numeric vector of upper borundary values for each parameter |
fixed |
boolean vector: should a parameter kept fixed (TRUE) or should all parameters be sampled (FALSE). If TRUE than the parameter value from the vector lower will be returned. |
The function returns a data.frame with sampled parameters.
Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]
1 2 3 4 | lower <- c(0, 100, -50, 1000)
names(lower) <- letters[1:4]
upper <- c(10, 500, 50, 10000)
RandomLHSPar(10, lower, upper)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.