summaryrefslogtreecommitdiff
path: root/R/computeLL.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/computeLL.R')
-rw-r--r--R/computeLL.R9
1 files changed, 5 insertions, 4 deletions
diff --git a/R/computeLL.R b/R/computeLL.R
index 6acfc78..9047777 100644
--- a/R/computeLL.R
+++ b/R/computeLL.R
@@ -2,10 +2,11 @@
#'
#' This is a background/internal function called by \code{WP}. It computes the log-likelihood.
#'
-#' @param NT vector of case counts
-#' @param p discretized version of the serial distribution
-#' @param R0 basic reproductive ratio
-#' @return The function returns the variable \code{LL} which is the log-likelihood at the input variables and parameters.
+#' @param NT Vector of case counts.
+#' @param p Discretized version of the serial distribution.
+#' @param R0 Basic reproductive ratio.
+#'
+#' @return This function returns the log-likelihood at the input variables and parameters.
#'
#' @export
computeLL <- function(p, NT, R0) {