desc_stat | R Documentation |
Create descriptive statistics table
desc_stat( data, .select, group_by_cols = NULL, with_idk = 99, .labels = c(total = "N") )
data |
Choose dataframe. |
.select |
Choose which columns you want to calculate distribution. |
group_by_cols |
Group by chosen columns. Defaul: NULL |
with_idk |
Data includes I don't know values. You want to compute them in distributions but not in means. Default: 99. |
.labels |
Choose labels for table. Default: total = "N" |
desc_stat(mtcars, .select = c(2, 8:11), group_by_cols = "cyl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.