Betabinomial density
dbetabin(theta, W, M, X, X_star, np, npstar, link, phi.link, logpar = TRUE)
Negative beta-binomial (log-)likelihood
Numeric vector. Parameters associated with X
and X_star
Numeric vector of counts
Numeric vector of sequencing depth
Matrix of covariates associated with abundance (including intercept)
Matrix of covariates associated with dispersion (including intercept)
Number of covariates associated with abundance (including intercept)
Number of covariates associated with dispersion (including intercept)
ink function for abundance covariates
ink function for dispersion covariates
Boolean. Defaults to TRUE
. Indicator of whether to return log-likelihood.