summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/id.R2
-rw-r--r--R/idea.R2
-rw-r--r--R/seq_bayes.R2
-rw-r--r--R/wp.R12
4 files changed, 8 insertions, 10 deletions
diff --git a/R/id.R b/R/id.R
index 91fa5ca..5277591 100644
--- a/R/id.R
+++ b/R/id.R
@@ -25,7 +25,7 @@
#' @return An estimate of the basic reproduction number (R0).
#'
#' @references [Fisman et al. (PloS One, 2013)](
-#' https://doi.org/10.1371/journal.pone.0083622)
+#' https://doi.org/10.1371/journal.pone.0083622)
#'
#' @seealso [idea()] for a similar method.
#'
diff --git a/R/idea.R b/R/idea.R
index 53ba98a..14ba838 100644
--- a/R/idea.R
+++ b/R/idea.R
@@ -26,7 +26,7 @@
#' @return An estimate of the basic reproduction number (R0).
#'
#' @references [Fisman et al. (PloS One, 2013)](
-#' https://doi.org/10.1371/journal.pone.0083622)
+#' https://doi.org/10.1371/journal.pone.0083622)
#'
#' @seealso [id()] for a similar method.
#'
diff --git a/R/seq_bayes.R b/R/seq_bayes.R
index 4284419..d486d2b 100644
--- a/R/seq_bayes.R
+++ b/R/seq_bayes.R
@@ -52,7 +52,7 @@
#' posterior mean).
#'
#' @references [Bettencourt and Riberio (PloS One, 2008)](
-#' https://doi.org/10.1371/journal.pone.0002185)
+#' https://doi.org/10.1371/journal.pone.0002185)
#'
#' @seealso `vignette("seq_bayes_post", package = "Rnaught")` for examples of
#' using the posterior distribution.
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.
#'