N: datasummary statistic shortcut

View source: R/datasummary_functions.R

NR Documentation

datasummary statistic shortcut

Description

datasummary statistic shortcut

Usage

N(x)

Arguments

x

variable to summarize

Examples

if (identical(Sys.getenv("pkgdown"),  "true")) {
datasummary(Factor(cyl) ~ N, data = mtcars)
}

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