X-Git-Url: https://git.nmode.ca/Rnaught/blobdiff_plain/08d0f6be2aa45d3ba417390bb270d831a2b51f8b..e0988851b26668ec69131e22a0815ce6f85b94c4:/R/WP_known.R diff --git a/R/WP_known.R b/R/WP_known.R index 563b7ae..2c54bce 100644 --- a/R/WP_known.R +++ b/R/WP_known.R @@ -3,9 +3,10 @@ #' This is a background/internal function called by \code{WP}. It computes the maximum #' likelihood estimator of R0 assuming that the serial distribution is known and finite discrete. #' -#' @param NT vector of case counts -#' @param p discretized version of the serial distribution -#' @return The function returns \code{Rhat}, the maximum likelihood estimator of R0. +#' @param NT Vector of case counts. +#' @param p Discretized version of the serial distribution. +#' +#' @return The function returns the maximum likelihood estimator of R0. #' #' @export WP_known <- function(NT, p) {