None of these functions should be called directly.
nimNmixPois_logFac(numN, ff, max_index = -1)dNmixture_steps(
x,
lambda,
Nmin,
Nmax,
sum_log_one_m_prob,
sum_log_dbinom,
usingAD = FALSE
)
dNmixture_BNB_steps(
x,
lambda,
theta,
Nmin,
Nmax,
sum_log_one_m_prob,
sum_log_dbinom,
usingAD = FALSE
)
dNmixture_BBP_steps(
x,
beta_m_x,
lambda,
s,
Nmin,
Nmax,
sum_log_dbetabinom,
usingAD = FALSE
)
dNmixture_BBNB_steps(
x,
beta_m_x,
lambda,
theta,
s,
Nmin,
Nmax,
sum_log_dbetabinom,
usingAD = FALSE
)
number of indices in the truncated sum for the N-mixture.
a derived vector of units calculated partway through the fast N-mixture algorithm.
possibly the index of the max contribution to the summation. For AD cases this is set by heuristic. For non-AD cases it is -1 and will be determined automatically.
x from dNmixture distributions
lambda from dNmixture distributions
start of summation over N
end of summation over N
sum(log(1-prob)) from relevant dNmixture cases
sum(log(dbinom(...))) from relevant dNmixture cases
TRUE if called from one of the dNmixtureAD distributions
theta from relevant dNmixture distributions
beta-x from relevant dNmixture cases
s from relevant dNmixture distributions
sum(log(dBetaBinom(...))) from relevant dNmixture cases
These are helper functions for the N-mixture calculations. They don't have an interpretation outside of that context and are not intended to be called directly.
dNmixture