count_unique: Count the number of unique values in a data frame by column

View source: R/var_summary.R

count_uniqueR Documentation

Count the number of unique values in a data frame by column

Description

Returns a vector of the number of unique values of each variable in a data frame. Any NA entries are included as a unique value.

Usage

count_unique(df)

Arguments

df

A data frame.


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