fix relative to examples #Rstat

This commit is contained in:
pommedeterresautee
2015-11-30 16:21:43 +01:00
parent 6e370b90fd
commit 425a5dd094
6 changed files with 6 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ get.paths.to.leaf <- function(dt.tree) {
#' @examples
#' data(agaricus.train, package='xgboost')
#'
#' bst <- xgboost(data = agaricus.train$data, max.depth = 15,
#' bst <- xgboost(data = agaricus.train$data, label = agaricus.train$label, max.depth = 15,
#' eta = 1, nthread = 2, nround = 30, objective = "binary:logistic",
#' min_child_weight = 50)
#'