countNonNaPairs: count which combinations of fields have at least one non-NA
Description
cycles through the given data frame twice, and applies logical
OR to all elements of each column it then counts how many of these pairs
are not-na, i.e. have at least one non-NA value TODO: tests
Usage
countNonNaPairs(d)
Arguments
d
data.frame
Value
matrix with nrow and ncol being the number of fields in the given
dataframe