Description Usage Arguments Value Examples
Simple wrapper for creating a xgboost matrix
| 1 | 
| x | Input data | 
| ... | Other data to cbind | 
| y | Label vector | 
| split | Optional number between 0-1 indicating the desired split between train and test | 
A xgb.Dmatrix
| 1 | xgb_mat(data.frame(x = rnorm(20), y = rnorm(20)))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.