Return the product of all the values present in its arguments.

h2o.prod(x)

Arguments

x

An H2OFrame object.

See also

prod for the base R implementation.

Examples

# NOT RUN {
library(h2o)
h2o.init()

f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_train.csv"
iris <- h2o.importFile(f)
h2o.prod(iris["petal_len"])
# }