aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/WP.R3
-rw-r--r--R/WP_unknown.R3
2 files changed, 6 insertions, 0 deletions
diff --git a/R/WP.R b/R/WP.R
index 8d528d5..a0290d3 100644
--- a/R/WP.R
+++ b/R/WP.R
@@ -1,3 +1,6 @@
+source("WP_known.R")
+source("WP_unknown.R")
+
#' WP method
#'
#' This function implements an R0 estimation due to White and Pagano (Statistics in Medicine, 2008).
diff --git a/R/WP_unknown.R b/R/WP_unknown.R
index ebb7cc7..569a880 100644
--- a/R/WP_unknown.R
+++ b/R/WP_unknown.R
@@ -1,3 +1,6 @@
+source("computeLL.R")
+source("WP_known.R")
+
#' WP method background function WP_unknown
#'
#' This is a background/internal function called by \code{WP}. It computes the maximum likelihood estimator