summaryrefslogtreecommitdiff
path: root/R/WP_unknown.R
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2023-06-22 05:11:43 +0000
committerNaeem Model <me@nmode.ca>2023-06-22 05:11:43 +0000
commitc6f74becc7ecc0e908bf920b1abb28131b5edd3c (patch)
tree45b9a67f8292a6e34d83b97a5497a852da5c2739 /R/WP_unknown.R
parentee7fdf4e1460f01ecac50d69798904c4e37f5b93 (diff)
Include required functions from 'stats' package
Diffstat (limited to 'R/WP_unknown.R')
-rw-r--r--R/WP_unknown.R2
1 files changed, 2 insertions, 0 deletions
diff --git a/R/WP_unknown.R b/R/WP_unknown.R
index 832a3ba..f339836 100644
--- a/R/WP_unknown.R
+++ b/R/WP_unknown.R
@@ -20,6 +20,8 @@
#' \code{J0} (the location for the maximum likelihood estimator \code{Rhat}). If \code{JJ} and \code{J0}
#' are not the same, this means that the maximum likelihood estimator is not unique.
#'
+#' @importFrom stats pgamma qgamma
+#'
#' @keywords internal
WP_unknown <- function(NT, B=100, shape.max=10, scale.max=10, tol=0.999) {
shape <- seq(0, shape.max, length.out=B+1)