R/xgb.DMatrix.R
xgb.get.DMatrix.data.Rd
Get DMatrix Data
xgb.get.DMatrix.data(dmat)
An xgb.DMatrix object, as returned by xgb.DMatrix().
xgb.DMatrix
xgb.DMatrix()
The data held in the DMatrix, as a sparse CSR matrix (class dgRMatrix from package Matrix). If it had feature names, these will be added as column names in the output.
dgRMatrix
Matrix