H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
Use groupBy instead.
Here is the code snippet:
irisPath <- system.file("extdata", "iris_wheader.csv", package = "h2o") iris.hex <- h2o.uploadFile(path = irisPath, destination_frame = "iris.hex") (res <- h2o.group_by(data = iris.hex, by = "class", sd("sepal_len")) )
And this code is equivalent to - fun <- function(df) { sd(df[,1],na.rm = T) } res <- h2o.ddply(iris.hex, "class", fun)