View source: R/datasummary_functions.R
NUnique | R Documentation |
datasummary statistic shortcut
NUnique(x, ...)
x |
variable to summarize |
... |
unused |
if (identical(Sys.getenv("pkgdown"), "true")) {
datasummary(cyl + hp ~ NUnique, data = mtcars)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.