Description Usage Arguments Value Examples
View source: R/random_distribution.R
Helper function: distributon repeater
1 2 3 4 5 6 | distribution_repeater(
number_of_repeatings = 10,
number_of_events = 365,
func,
...
)
|
number_of_repeatings |
how often should the random distribution with the same parameters be generated (default: 1) |
number_of_events |
number of events |
func |
distribution function to be repeated (e.g. runif, rlnorm, rnorm) |
... |
further parameters passed to func |
data.frame with columns repeatID, eventID and values
1 2 3 4 5 6 7 | distribution_repeater(
number_of_repeatings = 2,
number_of_events = 10,
func = runif,
min = 1,
max = 10
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.