NUnique: datasummary statistic shortcut

View source: R/datasummary_functions.R

NUniqueR Documentation

datasummary statistic shortcut

Description

datasummary statistic shortcut

Usage

NUnique(x, ...)

Arguments

x

variable to summarize

...

unused

Examples

if (identical(Sys.getenv("pkgdown"),  "true")) {
datasummary(cyl + hp ~ NUnique, data = mtcars)
}

modelsummary documentation built on Sept. 11, 2024, 6:44 p.m.