aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2017-01-25 14:04:22 +0100
committerGertjan van den Burg <burg@ese.eur.nl>2017-01-25 14:04:22 +0100
commit5357948718ea788c7844c865f0f6eda88b9a55d5 (patch)
treedb14dc0c5fcb96e29939ad5c3a83a2e389346502 /R
parentVarious documentation fixes (diff)
downloadsparsestep-5357948718ea788c7844c865f0f6eda88b9a55d5.tar.gz
sparsestep-5357948718ea788c7844c865f0f6eda88b9a55d5.zip
Various namespace fixes
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)