univar_freq | R Documentation |
Descriptive statistics (N,
univar_freq(df, var, na.rm = FALSE)
df |
A data frame or tibble. |
var |
A discrete, numeric variable. |
na.rm |
logical. Should missing values (including |
A data.frame with columns var
, NObs, and Percent
univar_freq(iris, var = "Species")
univar_freq(mtcars, var = "cyl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.