From 5357948718ea788c7844c865f0f6eda88b9a55d5 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 25 Jan 2017 14:04:22 +0100 Subject: Various namespace fixes --- R/plot.sparsestep.R | 2 ++ R/print.sparsestep.R | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'R') diff --git a/R/plot.sparsestep.R b/R/plot.sparsestep.R index 09c146e..594337c 100644 --- a/R/plot.sparsestep.R +++ b/R/plot.sparsestep.R @@ -18,6 +18,8 @@ #' @export #' @aliases plot #' +#' @importFrom graphics matplot +#' #' @examples #' x <- matrix(rnorm(100*20), 100, 20) #' y <- rnorm(100) diff --git a/R/print.sparsestep.R b/R/print.sparsestep.R index 9d22324..45ad243 100644 --- a/R/print.sparsestep.R +++ b/R/print.sparsestep.R @@ -14,8 +14,9 @@ #' \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, #' arXiv preprint arXiv:1701.06967 [stat.ME]. #' URL \url{https://arxiv.org/abs/1701.06967}. -#' @export #' +#' @method print sparsestep +#' @export #' #' @examples #' x <- matrix(rnorm(100*20), 100, 20) -- cgit v1.2.3