Learn R Programming

modelsummary (version 2.3.0)

N: datasummary statistic shortcut

Description

datasummary statistic shortcut

Usage

N(x)

Arguments

x

variable to summarize

Examples

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

Run the code above in your browser using DataLab