fix iris to Rd files

This commit is contained in:
hetong
2014-09-05 19:47:58 -07:00
parent d776e0fdf5
commit 801a17fa02
15 changed files with 435 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ Get information of an xgb.DMatrix object
}
\examples{
data(iris)
iris[,5] <- as.numeric(iris[,5])
iris[,5] <- as.numeric(iris[,5]=='setosa')
dtrain <- xgb.DMatrix(as.matrix(iris[,1:4]), label=iris[,5])
labels <- getinfo(dtrain, "label")
}