h2o (version 3.30.1.2)

h2o.nacnt: Count of NAs per column

Description

Gives the count of NAs per column.

Usage

h2o.nacnt(x)

Arguments

x

An H2OFrame object.

Value

Returns a list containing the count of NAs per column

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab