Learn R Programming

h2o (version 3.44.0.3)

h2o.nacnt: Count of NAs per column

Description

Gives the count of NAs per column.

Usage

h2o.nacnt(x)

Value

Returns a list containing the count of NAs per column

Arguments

x

An H2OFrame object.

Examples

Run this code
if (FALSE) {
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