dist1 <- LogNormal(mean = 1.6, sd = 0.5, max = 20)
# An uncertain gamma distribution with mean 3 and sd 2
dist2 <- Gamma(
mean = Normal(3, 0.5), sd = Normal(2, 0.5), max = 20
)
# Multiple distributions
if (FALSE) {
dist <- dist1 + dist2
extract_single_dist(dist, 2)
}
Run the code above in your browser using DataLab