% Generated by roxygen2: do not edit by hand % Please edit documentation in R/xgb.DMatrix.R \name{print.xgb.DMatrix} \alias{print.xgb.DMatrix} \title{Print xgb.DMatrix} \usage{ \method{print}{xgb.DMatrix}(x, verbose = FALSE, ...) } \arguments{ \item{x}{An xgb.DMatrix object.} \item{verbose}{Whether to print colnames (when present).} \item{...}{Not currently used.} } \description{ Print information about xgb.DMatrix. Currently it displays dimensions and presence of info-fields and colnames. } \examples{ data(agaricus.train, package = "xgboost") dtrain <- with(agaricus.train, xgb.DMatrix(data, label = label, nthread = 2)) dtrain print(dtrain, verbose = TRUE) }