diff --git a/DESCRIPTION b/DESCRIPTION index 3153dc6..68e89ee 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -11,7 +11,7 @@ Description: A simple way of fitting detection functions to distance sampling Horvitz-Thompson-like estimator) if survey area information is provided. Version: 0.9.4 URL: http://github.com/DistanceDevelopment/Distance/ -Date: 2015-02-03 +Date: 2015-07-08 Depends: R (>= 3.0), mrds (>= 2.1.10) diff --git a/NAMESPACE b/NAMESPACE index cc3d2d7..9c14645 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -8,3 +8,6 @@ export(create.bins) export(ds) export(ds.gof) import(mrds) +importFrom(graphics,plot) +importFrom(stats,as.formula) +importFrom(stats,quantile) diff --git a/R/ds.R b/R/ds.R index b78738b..5ffbf63 100644 --- a/R/ds.R +++ b/R/ds.R @@ -136,6 +136,7 @@ #' @seealso \code{\link{flatfile}} #' @export #' +#' @importFrom stats quantile as.formula #' @references #' Buckland, S.T., Anderson, D.R., Burnham, K.P., Laake, J.L., Borchers, D.L., and Thomas, L. (2001). Distance Sampling. Oxford University Press. Oxford, UK. #' diff --git a/R/plot.dsmodel.R b/R/plot.dsmodel.R index 920f179..88cc3ff 100644 --- a/R/plot.dsmodel.R +++ b/R/plot.dsmodel.R @@ -9,6 +9,7 @@ #' @aliases plot.dsmodel #' @export #' @author David L. Miller +#' @importFrom graphics plot plot.dsmodel <- function(x,...){ plot(x$ddf,...)