Density and distribution functions for the mean-restricted two-component normal distribution.
drtcnorm(x, p, mu, sig1, sig2, log = FALSE)prtcnorm(q, p, mu, sig1, sig2, lower.tail = TRUE, log.p = FALSE)
drtcnorm gives the density, prtcnorm gives the distribution.
The length of the result is determined by the length of x for drtcnorm.
A vector of quantiles.
A scalar mixture weight.
A scalar separation parameter.
A scalar standard deviation for the first component.
A scalar standard deviation for the second component.
A logical value indication whether a probability p.
A logical value indicated whether or not to take the cumulative distribution function with respect to the lower tail (alternatively upper).