`r lifecycle::badge("deprecated")`
Usage
pmixnorm(q, means, sds, weights = rep(1, length(means)), na.rm = FALSE)
Arguments
- q
vector of quantiles.
- means
a vector of normal distribution means
- sds
a vector of normal distribution sds
- weights
a vector of weights
- na.rm
remove distributions which have NA for mean or sd
Value
the pdf of the mixture distribution.
Examples
pmixnorm(q=c(2,20), means=c(10,13,14), sds=c(1,1,2), weights=c(2,2,3))
#> [1] 4.228235e-10 9.994215e-01