X-Git-Url: https://git.nmode.ca/Rnaught/blobdiff_plain/87cda5b1e72f033f9d02f78d9cc3b7216d2abe9d..80624375941bebfd3629f3972555e5a63ba66ec1:/R/WP.R diff --git a/R/WP.R b/R/WP.R index 76012be..c8178b7 100644 --- 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)) {