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

vincentarelbundock/gtsummary documentation built on Nov. 6, 2024, 11:07 p.m.