| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/xgb.DMatrix.R |
| 3 |
\name{xgb.get.DMatrix.data} |
| 4 |
\alias{xgb.get.DMatrix.data} |
| 5 |
\title{Get DMatrix Data} |
| 6 |
\usage{ |
| 7 |
xgb.get.DMatrix.data(dmat) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{dmat}{An \code{xgb.DMatrix} object, as returned by \code{\link[=xgb.DMatrix]{xgb.DMatrix()}}.} |
| 11 |
} |
| 12 |
\value{ |
| 13 |
The data held in the DMatrix, as a sparse CSR matrix (class \code{dgRMatrix} |
| 14 |
from package \code{Matrix}). If it had feature names, these will be added as column names |
| 15 |
in the output. |
| 16 |
} |
| 17 |
\description{ |
| 18 |
Get DMatrix Data |
| 19 |
} |