Gives the count of NAs per column.

h2o.nacnt(x)

Arguments

x

An H2OFrame object.

Value

Returns a list containing the count of NAs per column

Examples

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

iris_hf <- as.h2o(iris)
h2o.nacnt(iris_hf)  # should return all 0s
h2o.insertMissingValues(iris_hf)
h2o.nacnt(iris_hf)
# }