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

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