Description Usage Arguments Value Examples
Generate Random Distribution
1 2 |
n |
number of realizations |
mean |
mean |
sd |
standard deviation |
method |
sampling method, either "RND" or "LHS". Default = "RND" |
lhs |
vector of quatiles (obtained from LH sampling functions). Not required
is |
distro |
distribution |
lower |
lower limit of the truncated distribution |
upper |
upper limit of the truncated distribution |
seed |
integer serving as seed number |
an array with n random values for the given parameters
1 2 3 4 5 6 7 8 | ## Not run:
distribution_1 <- run_variable(100, 10, 4)
hist(distribution_1)
distribution_2 <- run_variable(100, 10, 4, "truncated normal", 7, 13, seed = 123)
hist(distribution_2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.