Skip to content

Commit

Permalink
Fix argument order.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnocandel committed Dec 31, 2014
1 parent fb95e19 commit 2a17406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/h2o-package/R/ParseImport.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ h2o.assign <- function(data, key) {
.h2o.exec2(expr = data@key, h2o = data@h2o, dest_key = key)
}

h2o.createFrame <- function(object, key, rows, cols, seed, randomize, value, real_range, categorical_fraction, factors, integer_fraction, integer_range, missing_fraction, response_factors, binary_fraction=0, binary_ones_fraction=0.5) {
h2o.createFrame <- function(object, key, rows, cols, seed, randomize, value, real_range, categorical_fraction, factors, integer_fraction, integer_range, binary_fraction=0, binary_ones_fraction=0.5, missing_fraction, response_factors) {
if(!is.numeric(rows)) stop("rows must be a numeric value")
if(!is.numeric(cols)) stop("cols must be a numeric value")
if(!is.numeric(seed)) stop("seed must be a numeric value")
Expand Down

0 comments on commit 2a17406

Please sign in to comment.