]> nmode's Git Repositories - Rnaught/blobdiff - R/WP_unknown.R
Update DESCRIPTION
[Rnaught] / R / WP_unknown.R
index 542f0f79a5de3d0a5f2e756efbb5a298e2c83fb5..f339836705aab45e4c78043c75d580f53e9804e2 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
@@ -23,7 +20,9 @@ source("WP_known.R")
 #'         \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.
 #'
-#' @export
+#' @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)
        scale <- seq(0, scale.max, length.out=B+1)