arlc_count_na {arlclustering}R Documentation

Count NA Values in a Data Frame

Description

This function counts the number of NA values in each column of a data frame.

Usage

arlc_count_na(df)

Arguments

df

A data frame.

Value

A named vector with the count of NA values in each column.

Examples

arlc_count_na(data.frame(a = c(1, NA, 3), b = c(NA, NA, 3)))

[Package arlclustering version 1.0.5 Index]