aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/plot.sparsestep.R2
-rw-r--r--R/print.sparsestep.R3
2 files changed, 4 insertions, 1 deletions
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)