summaryrefslogtreecommitdiff
path: root/R/wp.R
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2024-05-09 20:27:25 +0000
committerNaeem Model <me@nmode.ca>2024-05-09 20:27:25 +0000
commitbd947aec1f45184154fc32a442953a3950e76c76 (patch)
tree4cff68efb9a52712a3a5aa1c767675684c30d403 /R/wp.R
parentdce01ac19a0298388089ce4297a44ef2aa2c4c46 (diff)
Update docs
Diffstat (limited to 'R/wp.R')
-rw-r--r--R/wp.R12
1 files changed, 5 insertions, 7 deletions
diff --git a/R/wp.R b/R/wp.R
index 428f366..16b4bbb 100644
--- a/R/wp.R
+++ b/R/wp.R
@@ -73,7 +73,7 @@
#' returned.
#'
#' @references [White and Pagano (Statistics in Medicine, 2008)](
-#' https://doi.org/10.1002/sim.3136)
+#' https://doi.org/10.1002/sim.3136)
#'
#' @seealso `vignette("wp_serial", package="Rnaught")` for examples of using the
#' serial distribution.
@@ -152,9 +152,8 @@ wp <- function(cases, mu = NA, serial = FALSE,
#' * `pmf` - the probability mass function of the estimated serial
#' distribution
#'
-#' @references
-#' [White and Pagano (Statistics in Medicine, 2008)](
-#' https://doi.org/10.1002/sim.3136)
+#' @references [White and Pagano (Statistics in Medicine, 2008)](
+#' https://doi.org/10.1002/sim.3136)
#'
#' @seealso [wp()] for the function in which this grid search is called.
#'
@@ -207,9 +206,8 @@ wp_search <- function(cases, grid_length, max_shape, max_scale) {
#'
#' @return The sum inside the function `mu(t)` of the log likelihood.
#'
-#' @references
-#' [White and Pagano (Statistics in Medicine, 2008)](
-#' https://doi.org/10.1002/sim.3136)
+#' @references [White and Pagano (Statistics in Medicine, 2008)](
+#' https://doi.org/10.1002/sim.3136)
#'
#' @seealso [wp()] and [wp_search()] for the functions which require this sum.
#'