Oneinflated distributions
Description
These functions perform probabilistic analysis as well as random sampling on oneinflated distributions.
Usage
1 2 3 4 5 6 7 
Arguments
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 
Details
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 oneinflated distribution of an original distribution
specified by d,p,q,ec,m
fun
.
roifun
generates random variates of the resulting distribution.
Value
A numeric value or a vector.
Author(s)
Dutang Christophe
See Also
oibeta
, oiunif
, oistpareto
and oidistribution
.