fix NAMESPACE

This commit is contained in:
hetong
2014-08-28 08:16:45 -07:00
parent 73419f6cd7
commit d95bc458e3
10 changed files with 18 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
#' xgb.save(bst, 'iris.xgb.model')
#' bst <- xgb.load('iris.xgb.model')
#' pred <- predict(bst, as.matrix(iris[,1:4]))
#' @export
#'
xgb.load <- function(modelfile) {
if (is.null(modelfile))