sd_dist | R Documentation |
This works out the standard deviation of all the (parametric /
nonparametric) delay distributions combined in the passed dist_spec()
.
sd_dist(x)
x |
The |
A vector of standard deviations.
## Not run:
# A fixed lognormal distribution with sd 5 and sd 1.
dist1 <- LogNormal(mean = 5, sd = 1, max = 20)
sd_dist(dist1)
# A gamma distribution with mean 3 and sd 2
dist2 <- Gamma(mean = 3, sd = 2)
sd_dist(dist2)
# The sd of the sum of two distributions
sd_dist(dist1 + dist2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.