aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NAMESPACE3
-rw-r--r--R/plot.sparsestep.R2
-rw-r--r--R/print.sparsestep.R3
-rw-r--r--man/print.sparsestep.Rd1
4 files changed, 6 insertions, 3 deletions
diff --git a/NAMESPACE b/NAMESPACE
index a42304f..074097a 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -1,4 +1,4 @@
-# Generated by roxygen2 (4.1.1): do not edit by hand
+# Generated by roxygen2: do not edit by hand
S3method(coef,sparsestep)
S3method(plot,sparsestep)
@@ -7,3 +7,4 @@ S3method(print,sparsestep)
export(path.sparsestep)
export(sparsestep)
import(Matrix)
+importFrom(graphics,matplot)
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)
diff --git a/man/print.sparsestep.Rd b/man/print.sparsestep.Rd
index 3a9e200..3c436bb 100644
--- a/man/print.sparsestep.Rd
+++ b/man/print.sparsestep.Rd
@@ -1,7 +1,6 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.sparsestep.R
\name{print.sparsestep}
-\alias{print}
\alias{print.sparsestep}
\title{Print the fitted SparseStep model}
\usage{