| dCount_naive_bi | R Documentation |
Compute count probabilities using naive convolution (section 3.1) for the built-in distributions
Compute count probabilities using naive convolution (section 3.1) for the user passed survival function.
dCount_naive_bi(
x,
distPars,
dist,
nsteps = 100L,
time = 1,
extrap = TRUE,
cdfout = FALSE,
logFlag = FALSE
)
dCount_naive_user(
x,
distPars,
extrapolPars,
survR,
nsteps = 100L,
time = 1,
extrap = TRUE,
cdfout = FALSE,
logFlag = FALSE
)
x |
integer (vector), the desired count values. |
distPars |
|
dist |
character name of the built-in 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 |
cdfout |
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 minimum number of convolution to compute the count
probability P(x) sing nsteps steps, and refines result by
Richardson extrapolation if extrap is TRUE using the
algorithm of section 3.1.
vector of probabilities P(x(i)) for i = 1, ..., n where n is
length of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.