Skip to contents

calculate checksum for each row of a data frame or matrix x. Each combination of NA-occurrence in the row gets a different checksum. Therefore, each column of x is represented as a power of two and for the columns in which the row contains NA the corresponding powers of two are added.

Usage

na_checksum(x)

Arguments

x

data frame or matrix