summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2023-06-22 04:12:31 +0000
committerNaeem Model <me@nmode.ca>2023-06-22 04:12:31 +0000
commit87cda5b1e72f033f9d02f78d9cc3b7216d2abe9d (patch)
treedc50322d9f82d232a0f4dc28399f9d6709366c25 /R
parentee371209e859414a58bafdd50538fdd4b90230a5 (diff)
Prefer namespaces over direct sourcing
Diffstat (limited to 'R')
-rw-r--r--R/WP.R3
-rw-r--r--R/WP_unknown.R3
2 files changed, 0 insertions, 6 deletions
diff --git a/R/WP.R b/R/WP.R
index 7597c49..76012be 100644
--- 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).
diff --git a/R/WP_unknown.R b/R/WP_unknown.R
index 542f0f7..ee950b1 100644
--- a/R/WP_unknown.R
+++ b/R/WP_unknown.R
@@ -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