arlc_count_na: Count NA Values in a Data Frame

View source: R/arlc_utils.R

arlc_count_naR 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)))

arlclustering documentation built on Sept. 11, 2024, 8:07 p.m.