-#' @param NT Vector of case counts.
-#' @param mu Mean of the serial distribution. This needs to match case counts in
-#' time units. For example, if case counts are weekly and the serial
-#' distribution has a mean of seven days, then \code{mu} should be set
-#' to one. If case counts are daily and the serial distribution has a
-#' mean of seven days, then \code{mu} should be set to seven.
-#' @param kappa Largest possible value of uniform prior (defaults to 20). This
-#' describes the prior belief on ranges of R0, and should be set to
-#' a higher value if R0 is believed to be larger.
-#'
-#' @return \code{seqB} returns a list containing the following components:
-#' \code{Rhat} is the estimate of R0 (the posterior mean),
-#' \code{posterior} is the posterior distribution of R0 from which
-#' alternate estimates can be obtained (see examples), and \code{group}
-#' is an indicator variable (if \code{group == TRUE}, zero values of NT
-#' were input and grouping was done to obtain \code{Rhat}). The variable
-#' \code{posterior} is returned as a list made up of \code{supp} (the
-#' support of the distribution) and \code{pmf} (the probability mass
-#' function).
+#' @param cases Vector of case counts. The vector must only contain non-negative
+#' integers, and have at least two positive integers.
+#' @param mu Mean of the serial distribution. This must be a positive number.
+#' The value should match the case counts in time units. For example, if case
+#' counts are weekly and the serial distribution has a mean of seven days,
+#' then `mu` should be set to `1`. If case counts are daily and the serial
+#' distribution has a mean of seven days, then `mu` should be set to `7`.
+#' @param kappa Largest possible value of the uniform prior (defaults to `20`).
+#' This must be a number greater than or equal to `1`. It describes the prior
+#' belief on the ranges of R0, and should be set to a higher value if R0 is
+#' believed to be larger.
+#' @param post Whether to return the posterior distribution of R0 instead of the
+#' estimate of R0 (defaults to `FALSE`). This must be a value identical to
+#' `TRUE` or `FALSE`.
+#'
+#' @return If `post` is identical to `TRUE`, a list containing the following
+#' components is returned:
+#' * `supp` - the support of the posterior distribution of R0
+#' * `pmf` - the probability mass function of the posterior distribution of R0
+#'
+#' Otherwise, if `post` is identical to `FALSE`, only the estimate of R0 is
+#' returned. Note that the estimate is equal to `sum(supp * pmf)` (i.e., the
+#' posterior mean).
+#'
+#' @references [Bettencourt and Riberio (PloS One, 2008)](
+#' https://doi.org/10.1371/journal.pone.0002185)
+#'
+#' @seealso `vignette("seq_bayes_post", package = "Rnaught")` for examples of
+#' using the posterior distribution.
+#'
+#' @export