diff --git a/R-package/R/nrow.xgb.DMatrix.R b/R-package/R/nrow.xgb.DMatrix.R index 37d0fa811..9ea039764 100644 --- a/R-package/R/nrow.xgb.DMatrix.R +++ b/R-package/R/nrow.xgb.DMatrix.R @@ -1,8 +1,9 @@ setGeneric("nrow") -#' @param x Object of class \code{xgb.DMatrix} #' @title Number of xgb.DMatrix rows #' @description \code{nrow} return the number of rows present in the \code{xgb.DMatrix}. +#' @param x Object of class \code{xgb.DMatrix} +#' #' @examples #' data(agaricus.train, package='xgboost') #' train <- agaricus.train