View source: R/distributions.R
| exp_mod_normal_lpdf | R Documentation |
Log-density for X = Z + E, where Z follows a normal distribution
with mean mu and standard deviation sigma, and E follows
an exponential distribution with rate lambda.
exp_mod_normal_lpdf(x, mu, sigma, lambda, sum = TRUE)
x |
Vector of quantiles. |
mu |
Mean of the normal component. |
sigma |
Standard deviation of the normal component. |
lambda |
Rate of the exponential component. |
sum |
Logical; if |
The sum of the log-density or a vector of log-densities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.