Learn R Programming

modelsummary (version 1.4.1)

NUnique: datasummary statistic shortcut

Description

datasummary statistic shortcut

Usage

NUnique(x, ...)

Arguments

x

variable to summarize

...

unused

Examples

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

Run the code above in your browser using DataLab