dot-pmixnorm: The cumulative density function of a mixture of normal...

.pmixnormR Documentation

The cumulative density function of a mixture of normal distributions

Description

The cumulative density function of a mixture of normal distributions

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

try({
.pmixnorm(q=c(2,20), means=c(10,13,14), sds=c(1,1,2), weights=c(2,2,3))
})

terminological/ggrrr documentation built on June 15, 2024, 6:35 a.m.