This commit is contained in:
pommedeterresautee 2015-03-16 00:12:23 +01:00
parent 9d1d76532d
commit 240c314ac0

View File

@ -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