]> nmode's Git Repositories - Rnaught/commitdiff
Prefer namespaces over direct sourcing
authorNaeem Model <me@nmode.ca>
Thu, 22 Jun 2023 04:12:31 +0000 (04:12 +0000)
committerNaeem Model <me@nmode.ca>
Thu, 22 Jun 2023 04:12:31 +0000 (04:12 +0000)
R/WP.R
R/WP_unknown.R

diff --git a/R/WP.R b/R/WP.R
index 7597c4993d48254cfa0b2065ff85199761dbff95..76012be9d5c585c1fa0b2d4a56a0dd75e33e0104 100644 (file)
--- a/R/WP.R
+++ b/R/WP.R
@@ -1,6 +1,3 @@
-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).
index 542f0f79a5de3d0a5f2e756efbb5a298e2c83fb5..ee950b19859e20f9e68ef74f514a420f29197e3e 100644 (file)
@@ -1,6 +1,3 @@
-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