Compute count probabilities using simple convolution (section 2) for the builtin distributions
Compute count probabilities using simple convolution (section 2) for user passed survival functions
1 2 3 4 5  dCount_allProbs_bi(x, distPars, dist, nsteps = 100L, time = 1,
extrap = TRUE, logFlag = FALSE)
dCount_allProbs_user(x, distPars, extrapolPars, survR, nsteps = 100L,
time = 1, extrap = TRUE, logFlag = FALSE)

x 
integer (vector), the desired count values. 
distPars 

dist 
character name of the builtin distribution, see details. 
nsteps 
unsiged integer number of steps used to compute the integral. 
time 
double time at wich to compute the probabilities. Set to 1 by default. 
extrap 
logical if 
logFlag 
logical if 
extrapolPars 
ma::vec of length 2. The extrapolation values. 
survR 
Rcpp::Function user passed survival function; should have the
signature 
The routine does convolutions to produce probabilities probs(0)
,
... probs(xmax)
using nsteps
steps, and refines result by
Richardson extrapolation if extrap
is TRUE
using the
algorithm of section 2.
vector of probabilities P(x(i)) for i = 1, ..., n where n is
length
of x
.
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.