Description Usage Arguments Value Author(s) Examples
View source: R/aux_functions.R
Create partial function to sample from gamma distributions
1 | dist_setup(dist_param1 = NULL, dist_param2 = NULL, dist_type = NULL)
|
dist_param1 |
numeric parameter of specified distribution |
dist_param2 |
numeric parameter of specified distribution |
dist_type |
type of distribution from: 'weibull', 'gamma', 'lognormal' |
partial function that takes a numeric argument for number of samples
Joel Hellewell
1 2 | fnc <- dist_setup(1, 2, 'weibull')
fnc(2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.