pecp {ecpdist} | R Documentation |
Distribution function
Description
Compute the cumulative distribution function of the extended Chen-Poisson (ecp) distribution.
Usage
pecp(q, lambda, gamma, phi, lower_tail = TRUE, log_p = FALSE)
Arguments
q |
vector of quantiles. |
lambda , gamma |
parameter values > 0. |
phi |
parameter value != 0. |
lower_tail |
similar to lower.tail |
log_p |
logical value |
Value
Numeric value of the distribution function.
If lower_tail = FALSE, numeric value of the survival function.
If log_p = TRUE, numeric value of the logarithm of the function.
Examples
pecp(2, 1, 1, 1, lower_tail = TRUE, log_p = FALSE) # distribution function
pecp(2, 1, 1, 1, lower_tail = FALSE, log_p = FALSE) # survival function
[Package ecpdist version 0.2.1 Index]