From bfa1252fca4587151d5ac7cf79875cc130bba057 Mon Sep 17 00:00:00 2001 From: david-cortes Date: Tue, 28 Nov 2023 22:42:41 +0100 Subject: [PATCH] [R][doc] Update docs about fitting from CSR (#9818) --- R-package/R/xgb.DMatrix.R | 2 +- R-package/man/xgb.DMatrix.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R-package/R/xgb.DMatrix.R b/R-package/R/xgb.DMatrix.R index b01e98637..8e19e87b0 100644 --- a/R-package/R/xgb.DMatrix.R +++ b/R-package/R/xgb.DMatrix.R @@ -5,7 +5,7 @@ #' \code{\link{xgb.DMatrix.save}}). #' #' @param data a \code{matrix} object (either numeric or integer), a \code{dgCMatrix} object, -#' a \code{dgRMatrix} object (only when making predictions from a fitted model), +#' a \code{dgRMatrix} object, #' a \code{dsparseVector} object (only when making predictions from a fitted model, will be #' interpreted as a row vector), or a character string representing a filename. #' @param info a named list of additional information to store in the \code{xgb.DMatrix} object. diff --git a/R-package/man/xgb.DMatrix.Rd b/R-package/man/xgb.DMatrix.Rd index 59ef0b3be..38a65c638 100644 --- a/R-package/man/xgb.DMatrix.Rd +++ b/R-package/man/xgb.DMatrix.Rd @@ -15,7 +15,7 @@ xgb.DMatrix( } \arguments{ \item{data}{a \code{matrix} object (either numeric or integer), a \code{dgCMatrix} object, -a \code{dgRMatrix} object (only when making predictions from a fitted model), +a \code{dgRMatrix} object, a \code{dsparseVector} object (only when making predictions from a fitted model, will be interpreted as a row vector), or a character string representing a filename.}