oidistribution | R Documentation |
These functions perform probabilistic analysis as well as random sampling on one-inflated distributions.
doifun(x, dfun, p1, log=FALSE, ...)
poifun(q, pfun, p1, lower.tail = TRUE, log.p = FALSE, ...)
qoifun(p, qfun, p1, lower.tail = TRUE, log.p = FALSE, ...)
roifun(n, rfun, p1, ...)
ecoifun(x, ecfun, mfun, p1, ...)
moifun(order, mfun, p1, ...)
tloifun(p1, ...)
x , q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. If |
dfun , pfun , qfun , rfun |
d, p, q, r functions of the original distribution. |
p1 |
parameter for the probability at |
ecfun , mfun |
exposure curve and moment functions which should have arguments
|
order |
order of the raw moment. |
log , log.p |
logical; if |
lower.tail |
logical; if |
... |
further arguments to pass to |
d,p,q,ec,m,tl
functions of oifun
computes the density function,
the distribution function, the quantile function, the exposure curve function,
raw moments and total loss of an one-inflated distribution of an original distribution
specified by d,p,q,ec,m
-fun
.
roifun
generates random variates of the resulting distribution.
A numeric value or a vector.
Dutang Christophe
oibeta
, oiunif
, oistpareto
and oidistribution
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.