count_nas: Count NAs in a data frame by column

View source: R/var_summary.R

count_nasR Documentation

Count NAs in a data frame by column

Description

Returns a vector of the number of NAs of each variable in a data frame.

Usage

count_nas(df, all = FALSE)

Arguments

df

A data frame.

all

By default variables with no NAs are omitted from the output. Set to TRUE to show all.


jedwards24/edwards documentation built on Sept. 2, 2023, 8:16 a.m.