These functions perform probabilistic analysis as well as random sampling on oneinflated distributions.
1 2 3 4 5 6 7 
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 oneinflated 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
.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.