h2o (version 3.10.5.3)

h2o.sum: Compute the frame's sum by-column (or by-row).

Description

Compute the frame's sum by-column (or by-row).

Usage

h2o.sum(x, na.rm = FALSE, axis = 0, return_frame = FALSE)

Arguments

x

An H2OFrame object.

na.rm

logical. indicating whether missing values should be removed.

axis

An int that indicates whether to do down a column (0) or across a row (1).

return_frame

A boolean that indicates whether to return an H2O frame or a list. Default is FALSE.

See Also

sum for the base R implementation.