]> nmode's Git Repositories - Rnaught/blobdiff - R/WP.R
Include required functions from 'stats' package
[Rnaught] / R / WP.R
diff --git a/R/WP.R b/R/WP.R
index 76012be9d5c585c1fa0b2d4a56a0dd75e33e0104..c8178b7b168c462175bb5e4a320d78a98858c569 100644 (file)
--- a/R/WP.R
+++ b/R/WP.R
@@ -73,6 +73,8 @@
 #' res4 <- WP(NT=NT[1:5], mu=5/7) # serial distribution has mean of five days
 #' res4$Rhat
 #'
+#' @importFrom stats pexp qexp
+#'
 #' @export
 WP <- function(NT, mu=NA, search=list(B=100, shape.max=10, scale.max=10), tol=0.999) {
     if (is.na(mu)) {