added XGDMatrixNumCol_R function

This commit is contained in:
Vadim Khotilovich
2016-03-27 19:11:22 -05:00
parent 605c23e0dc
commit 1d504d6c6c
2 changed files with 15 additions and 1 deletions

View File

@@ -83,10 +83,16 @@ XGB_DLL SEXP XGDMatrixGetInfo_R(SEXP handle, SEXP field);
/*!
* \brief return number of rows
* \param handle a instance of data matrix
* \param handle an instance of data matrix
*/
XGB_DLL SEXP XGDMatrixNumRow_R(SEXP handle);
/*!
* \brief return number of columns
* \param handle an instance of data matrix
*/
XGB_DLL SEXP XGDMatrixNumCol_R(SEXP handle);
/*!
* \brief create xgboost learner
* \param dmats a list of dmatrix handles that will be cached