fix error in demo

This commit is contained in:
Tong He 2014-08-30 11:24:15 -07:00
parent 5e839f6fe7
commit efe8b38a35

View File

@ -11,7 +11,7 @@ setClass('xgb.DMatrix')
#' data(iris)
#' iris[,5] <- as.numeric(iris[,5])
#' dtrain <- xgb.DMatrix(as.matrix(iris[,1:4]), label=iris[,5])
#' labels <- getinfo(dtest, "label")
#' labels <- getinfo(dtrain, "label")
#' @export
#'
getinfo <- function(object, ...){