[doc][R] Update arguments for ellipsis in predict (#9868)

This commit is contained in:
david-cortes 2023-12-12 05:13:47 +01:00 committed by GitHub
parent faf0f2df10
commit ddab49a8be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ xgb.Booster.complete <- function(object, saveraw = TRUE) {
#' @param strict_shape Default is \code{FALSE}. When it's set to \code{TRUE}, output #' @param strict_shape Default is \code{FALSE}. When it's set to \code{TRUE}, output
#' type and shape of prediction are invariant to model type. #' type and shape of prediction are invariant to model type.
#' #'
#' @param ... Parameters passed to \code{predict.xgb.Booster} #' @param ... Not used.
#' #'
#' @details #' @details
#' #'

View File

@ -66,7 +66,7 @@ to \code{c(1, 1)} XGBoost will use all trees.}
\item{strict_shape}{Default is \code{FALSE}. When it's set to \code{TRUE}, output \item{strict_shape}{Default is \code{FALSE}. When it's set to \code{TRUE}, output
type and shape of prediction are invariant to model type.} type and shape of prediction are invariant to model type.}
\item{...}{Parameters passed to \code{predict.xgb.Booster}} \item{...}{Not used.}
} }
\value{ \value{
The return type is different depending whether \code{strict_shape} is set to \code{TRUE}. By default, The return type is different depending whether \code{strict_shape} is set to \code{TRUE}. By default,