-#' @param mu Mean of the serial distribution (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). The default value of \code{mu} is set to \code{NA}.
-#' @param method Variable taking one of two possible values: \code{known} or \code{unknown}. If "known", the serial distribution is assumed to be gamma with rate 1/\code{mu} and shape equal to one, if "unknown" then the serial distribution is gamma with unknown parameters. Defaults to "unknown"
-#' @param search List of default values for the grid search algorithm; the list includes three elements: the first is \code{B} which is the length of the grid in one dimension, the second is \code{scale.max} which is the largest possible value of the scale parameter, and the third is \code{shape.max} which is the largest possible value of the shape parameter; defaults to \code{B=100, scale.max=10, shape.max=10}. For both shape and scale, the smallest possible value is 1/\code{B}.
-#' @param tol Cutoff value for cumulative distribution function of the pre-discretization gamma serial distribution, defaults to 0.999 (i.e. in the discretization, the maximum is chosen such that the original gamma distribution has cumulative probability of no more than 0.999 at this maximum).
+#' @param mu Mean of the serial distribution (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). The default value of \code{mu} is set to \code{NA}.
+#' @param method Variable taking one of two possible values: \code{known} or \code{unknown}. If "known", the
+#' serial distribution is assumed to be gamma with rate 1/\code{mu} and shape equal to one, if
+#' "unknown" then the serial distribution is gamma with unknown parameters. Defaults to "unknown"
+#' @param search List of default values for the grid search algorithm; the list includes three elements: the
+#' first is \code{B} which is the length of the grid in one dimension, the second is
+#' \code{scale.max} which is the largest possible value of the scale parameter, and the third is
+#' \code{shape.max} which is the largest possible value of the shape parameter; defaults to
+#' \code{B=100, scale.max=10, shape.max=10}. For both shape and scale, the smallest possible
+#' value is 1/\code{B}.
+#' @param tol Cutoff value for cumulative distribution function of the pre-discretization gamma serial
+#' distribution, defaults to 0.999 (i.e. in the discretization, the maximum is chosen such that the
+#' original gamma distribution has cumulative probability of no more than 0.999 at this maximum).