DelayedExponential | R Documentation |
Density, distribution function, quantile function and random generation for the delayed exponential distribution with rate
-parameter.
dexp_delayed(x, delay, rate = 1, ...)
pexp_delayed(q, delay, rate = 1, ...)
qexp_delayed(p, delay, rate = 1, ...)
rexp_delayed(n, delay, rate = 1)
x |
A numeric vector of values for which to get the density. |
delay |
numeric. The delay, must be non-negative. |
rate |
numeric. The event rate, must be non-negative. |
... |
further arguments are passed on to the underlying non-delayed function, e.g., |
q |
A numeric vector of quantile values. |
p |
A numeric vector of probabilities. |
n |
integer. Number of random observations requested. |
Additional arguments are forwarded via ...
to the underlying functions of the exponential distribution in the stats
-package.
The numerical arguments other than n
are recycled to the length of the result. Only the first elements of the logical arguments are used.
dexp_delayed
gives the density, pexp_delayed
gives the distribution function, qexp_delayed
gives the quantile function,
and rexp_delayed
generates a pseudo-random sample from the delayed exponential distribution.
The length of the result is determined by n
for rexp_delayed
, and is the maximum of the lengths of the numerical arguments for the other functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.