powered by
Negative Binomial Residuals
res_neg_binom(x, lambda = 1, theta = 0, type = "dev", simulate = FALSE)
A non-negative whole numeric vector of values.
A non-negative numeric vector of means.
A non-negative numeric vector of the shape and rate.
A string of the residual type ('raw' or 'dev').
A flag specifying whether to simulate residuals.
An numeric vector of the corresponding residuals.
Other res_dist: res_bern(), res_binom(), res_gamma_pois(), res_lnorm(), res_norm(), res_pois()
res_bern()
res_binom()
res_gamma_pois()
res_lnorm()
res_norm()
res_pois()
# NOT RUN { res_neg_binom(c(0, 1, 5), 2, 3) # }
Run the code above in your browser using DataLab