powered by
h2o.sample(data, nobs, seed)
H2OParsedData
library(h2o) localH2O = h2o.init() hex <- as.h2o(localH2O, iris) # sample the data a <- h2o.sample(hex, nobs = 99) # check that the number of rows is 99 dim(a)
Run the code above in your browser using DataLab