Description Usage Arguments Value Examples
View source: R/rweibull_with_mean_sd.R
Mean and standard deviation parameterised Weibull sampling function
1 | rweibull_with_mean_sd(n, mean, sd)
|
n |
Numeric, the number of samples to take. |
mean |
Numeric, the mean of the distribution. |
sd |
Numeric the standard deviation of the distribution. |
A vector of samples from the Weibull distribution
1 2 3 4 5 6 7 8 9 10 11 | ## Example
sample <- rweibull_with_mean_sd(1000, 3, 5)
mean(sample)
sd(sample)
hist(sample)
## Code
rweibull_with_mean_sd
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.