From c6f74becc7ecc0e908bf920b1abb28131b5edd3c Mon Sep 17 00:00:00 2001 From: Naeem Model Date: Thu, 22 Jun 2023 05:11:43 +0000 Subject: Include required functions from 'stats' package --- R/WP_unknown.R | 2 ++ 1 file changed, 2 insertions(+) (limited to 'R/WP_unknown.R') 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) -- cgit v1.2.3