Skip to content

Commit d98dc07

Browse files
committed
documentation of return value
1 parent 31f159f commit d98dc07

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

R/rehline.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@
5151
##' @param shrink Whether to use the shrinkage algorithm.
5252
##' @param verbose Level of verbosity.
5353
##'
54+
##' @return A list of the following components:
55+
##' \item{beta}{Optimized value of the \eqn{\beta} vector.}
56+
##' \item{xi,Lambda,Gamma}{Values of dual variables.}
57+
##' \item{niter}{Number of iterations used.}
58+
##' \item{dual_objfns}{Dual objective function values during the optimization process.}
59+
##'
60+
##' @author Yixuan Qiu \url{https://statr.me}
61+
##'
62+
##' Ben Dai \url{https://bendai.org}
63+
##'
5464
rehline = function(
5565
Xmat, Umat, Vmat, Smat = NULL, Tmat = NULL, Tau = Inf,
5666
Amat = NULL, bvec = NULL,

0 commit comments

Comments
 (0)