]> nmode's Git Repositories - Rnaught/commitdiff
Add local imports
authorNaeem Model <me@nmode.ca>
Wed, 21 Jun 2023 06:30:42 +0000 (06:30 +0000)
committerNaeem Model <me@nmode.ca>
Wed, 21 Jun 2023 06:30:42 +0000 (06:30 +0000)
R/WP.R
R/WP_unknown.R

diff --git a/R/WP.R b/R/WP.R
index 8d528d5a13958efb20e1f754e58762a4270a2b56..a0290d380b0783a3aee793fac096faf49b6d2df2 100644 (file)
--- 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).
 #' WP method
 #'
 #' This function implements an R0 estimation due to White and Pagano (Statistics in Medicine, 2008).
index ebb7cc71760213d2be0e98133c64919975ec7f7a..569a880c612b9221f9b1632b82c18be989e2ddd9 100644 (file)
@@ -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
 #' WP method background function WP_unknown
 #'
 #' This is a background/internal function called by \code{WP}. It computes the maximum likelihood estimator