diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2017-01-25 14:00:42 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2017-01-25 14:00:42 +0100 |
| commit | 9a2b911add9fb4f247cc63b13478758e740d1a3a (patch) | |
| tree | cfe252c8f778b9be207229cb63026f5742e3eb6f | |
| parent | multiply normalize with sqrt(n) to remove dependence on n in normalization (diff) | |
| download | sparsestep-9a2b911add9fb4f247cc63b13478758e740d1a3a.tar.gz sparsestep-9a2b911add9fb4f247cc63b13478758e740d1a3a.zip | |
Add author and reference to each public method documentation
| -rw-r--r-- | R/coef.sparsestep.R | 9 | ||||
| -rw-r--r-- | R/path.sparsestep.R | 9 | ||||
| -rw-r--r-- | R/plot.sparsestep.R | 10 | ||||
| -rw-r--r-- | R/predict.sparsestep.R | 10 | ||||
| -rw-r--r-- | R/print.sparsestep.R | 10 | ||||
| -rw-r--r-- | R/sparsestep-package.R | 9 | ||||
| -rw-r--r-- | R/sparsestep.R | 10 | ||||
| -rw-r--r-- | man/coef.sparsestep.Rd | 11 | ||||
| -rw-r--r-- | man/path.sparsestep.Rd | 11 | ||||
| -rw-r--r-- | man/plot.sparsestep.Rd | 10 | ||||
| -rw-r--r-- | man/predict.sparsestep.Rd | 11 | ||||
| -rw-r--r-- | man/print.sparsestep.Rd | 11 | ||||
| -rw-r--r-- | man/sparsestep-package.Rd | 9 | ||||
| -rw-r--r-- | man/sparsestep.Rd | 11 |
14 files changed, 138 insertions, 3 deletions
diff --git a/R/coef.sparsestep.R b/R/coef.sparsestep.R index 93072da..567b1f0 100644 --- a/R/coef.sparsestep.R +++ b/R/coef.sparsestep.R @@ -8,6 +8,15 @@ #' @return The coefficients of the SparseStep model (i.e. the betas). If the #' model was fitted with an intercept this will be the first value in the #' resulting vector. +#' @author +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). +#' \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 #' @aliases coef diff --git a/R/path.sparsestep.R b/R/path.sparsestep.R index 6f013e0..429526f 100644 --- a/R/path.sparsestep.R +++ b/R/path.sparsestep.R @@ -59,6 +59,15 @@ #' #' @export #' +#' @author +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). +#' \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, +#' arXiv preprint arXiv:1701.06967 [stat.ME]. +#' URL \url{https://arxiv.org/abs/1701.06967}. #' @seealso #' \code{\link{coef}}, \code{\link{print}}, \code{\link{predict}}, #' \code{\link{plot}}, and \code{\link{sparsestep}}. diff --git a/R/plot.sparsestep.R b/R/plot.sparsestep.R index cac7137..09c146e 100644 --- a/R/plot.sparsestep.R +++ b/R/plot.sparsestep.R @@ -5,6 +5,16 @@ #' @param x a \code{sparsestep} object #' @param \dots further argument to matplot #' +#' @author +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). +#' \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 #' @aliases plot #' diff --git a/R/predict.sparsestep.R b/R/predict.sparsestep.R index 065bc6b..c0c4f4b 100644 --- a/R/predict.sparsestep.R +++ b/R/predict.sparsestep.R @@ -13,6 +13,16 @@ #' @export #' @aliases predict #' +#' @author +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). +#' \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, +#' arXiv preprint arXiv:1701.06967 [stat.ME]. +#' URL \url{https://arxiv.org/abs/1701.06967}. +#' #' @examples #' x <- matrix(rnorm(100*20), 100, 20) #' y <- rnorm(100) diff --git a/R/print.sparsestep.R b/R/print.sparsestep.R index 2c987a2..9d22324 100644 --- a/R/print.sparsestep.R +++ b/R/print.sparsestep.R @@ -5,9 +5,17 @@ #' @param x a \code{sparsestep} object to print #' @param \dots further argument are ignored #' +#' @author +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). +#' \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 #' -#' @aliases print #' #' @examples #' x <- matrix(rnorm(100*20), 100, 20) diff --git a/R/sparsestep-package.R b/R/sparsestep-package.R index 303544b..c1c5361 100644 --- a/R/sparsestep-package.R +++ b/R/sparsestep-package.R @@ -29,7 +29,14 @@ #' } #' #' @author -#' Gertjan van den Burg (author and maintainer). +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). +#' \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, +#' arXiv preprint arXiv:1701.06967 [stat.ME]. +#' URL \url{https://arxiv.org/abs/1701.06967}. #' #' @name sparsestep-package #' @docType package diff --git a/R/sparsestep.R b/R/sparsestep.R index 6b47ef7..ef4ab22 100644 --- a/R/sparsestep.R +++ b/R/sparsestep.R @@ -46,6 +46,16 @@ #' \item{XX}{The matrix X'X if use.XX was set to TRUE} #' \item{Xy}{The matrix X'y if use.Xy was set to TRUE} #' +#' @author +#' Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +#' Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +#' +#' @references +#' Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). +#' \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, +#' arXiv preprint arXiv:1701.06967 [stat.ME]. +#' URL \url{https://arxiv.org/abs/1701.06967}. +#' #' @seealso #' \code{\link{coef}}, \code{\link{print}}, \code{\link{predict}}, #' \code{\link{plot}}, and \code{\link{path.sparsestep}}. diff --git a/man/coef.sparsestep.Rd b/man/coef.sparsestep.Rd index 578b75c..4d713b5 100644 --- a/man/coef.sparsestep.Rd +++ b/man/coef.sparsestep.Rd @@ -25,5 +25,16 @@ x <- matrix(rnorm(100*20), 100, 20) y <- rnorm(100) fit <- sparsestep(x, y) coef(fit) + +} +\author{ +Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +} +\references{ +Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). + \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, + arXiv preprint arXiv:1701.06967 [stat.ME]. + URL \url{https://arxiv.org/abs/1701.06967}. } diff --git a/man/path.sparsestep.Rd b/man/path.sparsestep.Rd index 4d90956..935d17b 100644 --- a/man/path.sparsestep.Rd +++ b/man/path.sparsestep.Rd @@ -87,6 +87,17 @@ Note that this path algorithm is not faster than running the x <- matrix(rnorm(100*20), 100, 20) y <- rnorm(100) pth <- path.sparsestep(x, y) + +} +\author{ +Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +} +\references{ +Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). + \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, + arXiv preprint arXiv:1701.06967 [stat.ME]. + URL \url{https://arxiv.org/abs/1701.06967}. } \seealso{ \code{\link{coef}}, \code{\link{print}}, \code{\link{predict}}, diff --git a/man/plot.sparsestep.Rd b/man/plot.sparsestep.Rd index 739906d..88c8d67 100644 --- a/man/plot.sparsestep.Rd +++ b/man/plot.sparsestep.Rd @@ -23,4 +23,14 @@ plot(fit) pth <- path.sparsestep(x, y) plot(pth) } +\author{ +Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +} +\references{ +Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). + \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, + arXiv preprint arXiv:1701.06967 [stat.ME]. + URL \url{https://arxiv.org/abs/1701.06967}. +} diff --git a/man/predict.sparsestep.Rd b/man/predict.sparsestep.Rd index 74abfaf..8318c34 100644 --- a/man/predict.sparsestep.Rd +++ b/man/predict.sparsestep.Rd @@ -27,5 +27,16 @@ x <- matrix(rnorm(100*20), 100, 20) y <- rnorm(100) fit <- sparsestep(x, y) yhat <- predict(fit, x) + +} +\author{ +Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +} +\references{ +Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). + \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, + arXiv preprint arXiv:1701.06967 [stat.ME]. + URL \url{https://arxiv.org/abs/1701.06967}. } diff --git a/man/print.sparsestep.Rd b/man/print.sparsestep.Rd index 4d194b5..2baa6bc 100644 --- a/man/print.sparsestep.Rd +++ b/man/print.sparsestep.Rd @@ -20,5 +20,16 @@ x <- matrix(rnorm(100*20), 100, 20) y <- rnorm(100) fit <- sparsestep(x, y) print(fit) + +} +\author{ +Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +} +\references{ +Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). + \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, + arXiv preprint arXiv:1701.06967 [stat.ME]. + URL \url{https://arxiv.org/abs/1701.06967}. } diff --git a/man/sparsestep-package.Rd b/man/sparsestep-package.Rd index 308d915..67ca27d 100644 --- a/man/sparsestep-package.Rd +++ b/man/sparsestep-package.Rd @@ -35,6 +35,13 @@ model} } } \author{ -Gertjan van den Burg (author and maintainer). +Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +} +\references{ +Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). + \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, + arXiv preprint arXiv:1701.06967 [stat.ME]. + URL \url{https://arxiv.org/abs/1701.06967}. } diff --git a/man/sparsestep.Rd b/man/sparsestep.Rd index f9e1ac3..7e8fa44 100644 --- a/man/sparsestep.Rd +++ b/man/sparsestep.Rd @@ -76,6 +76,17 @@ regularization parameter. x <- matrix(rnorm(100*20), 100, 20) y <- rnorm(100) fit <- sparsestep(x, y) + +} +\author{ +Gerrit J.J. van den Burg, Patrick J.F. Groenen, Andreas Alfons\cr +Maintainer: Gerrit J.J. van den Burg <gertjanvandenburg@gmail.com> +} +\references{ +Van den Burg, G.J.J., Groenen, P.J.F. and Alfons, A. (2017). + \emph{SparseStep: Approximating the Counting Norm for Sparse Regularization}, + arXiv preprint arXiv:1701.06967 [stat.ME]. + URL \url{https://arxiv.org/abs/1701.06967}. } \seealso{ \code{\link{coef}}, \code{\link{print}}, \code{\link{predict}}, |
