kc_sum | R Documentation |
Compute pre-selected set of descriptive statistics for provided vars.
kc_sum(data, sumvar)
data |
The data frame to summarize |
sumvar |
The variables to summarize; accommodates tidyselect helpers |
A data frame with descriptive stats: each var is a row; respective statistics are in column.
## Not run:
kc_sum(mtcars, c(mpg, disp)) # summary stats for vars mpg and disp
kc_sum(mtcars, where(is.numeric)) # summary stats for all numeric vars
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.