From 65259abb9f565a2371a55d0bb64706f4535d6b06 Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Wed, 8 Jan 2025 06:43:57 +0100 Subject: [PATCH] Added `\value` to `predict.MADMMplasso()` --- R/predict.MADMMplasso.R | 3 +-- man/predict.MADMMplasso.Rd | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/R/predict.MADMMplasso.R b/R/predict.MADMMplasso.R index 80e7a35..3b83770 100644 --- a/R/predict.MADMMplasso.R +++ b/R/predict.MADMMplasso.R @@ -10,8 +10,7 @@ #' @param y N by D matrix of responses. #' @param lambda values of lambda at which predictions are desired. If NULL (default), the path of lambda values from the fitted model. are used. If lambda is not NULL, the predictions are made at the closest values to lambda in the lambda path from the fitted model #' @param ... additional arguments to the generic \code{predict()} method - -#' @return predicted values +#' @return predicted values #' @export predict.MADMMplasso <- function(object, X, Z, y, lambda = NULL, ...) { lambda.arg <- lambda diff --git a/man/predict.MADMMplasso.Rd b/man/predict.MADMMplasso.Rd index 41196cf..4941a72 100644 --- a/man/predict.MADMMplasso.Rd +++ b/man/predict.MADMMplasso.Rd @@ -20,8 +20,10 @@ test features x and possibly other features.} \item{lambda}{values of lambda at which predictions are desired. If NULL (default), the path of lambda values from the fitted model. are used. If lambda is not NULL, the predictions are made at the closest values to lambda in the lambda path from the fitted model} -\item{...}{additional arguments to the generic \code{predict()} method -@return predicted values} +\item{...}{additional arguments to the generic \code{predict()} method} +} +\value{ +predicted values } \description{ Compute predicted values from a MADMMplasso object.