Skip to content

Commit

Permalink
update documentation for zero inflation
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Jan 3, 2024
1 parent 01c266c commit 438088b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions R/res.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ res_gamma_pois <- function(x, lambda = 1, theta = 0, type = "dev", simulate = FA
#'
#' @inheritParams params
#' @param x A non-negative whole numeric vector of values.
#' @param prob A numeric vector of values between 0 and 1 of the probability of zero-inflation.
#'
#' @return An numeric vector of the corresponding residuals.
#' @family res_dist
Expand Down Expand Up @@ -257,6 +258,7 @@ res_pois <- function(x, lambda = 1, type = "dev", simulate = FALSE) {
#'
#' @inheritParams params
#' @param x A non-negative whole numeric vector of values.
#' @param prob A numeric vector of values between 0 and 1 of the probability of zero-inflation.
#'
#' @return An numeric vector of the corresponding residuals.
#' @family res_dist
Expand Down
2 changes: 1 addition & 1 deletion man/res_gamma_pois_zi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/res_pois_zi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 438088b

Please sign in to comment.