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 --- NAMESPACE | 3 ++- R/plot.sparsestep.R | 2 ++ R/print.sparsestep.R | 3 ++- man/print.sparsestep.Rd | 1 - 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{ -- cgit v1.2.3