Description Usage Arguments Examples
View source: R/tidy_describe_data.r
tidy_describe_data
returns a tidy data frame of descriptive statistics created with tidystats' describe_data
.
1 | tidy_describe_data(descriptives)
|
descriptives |
A data frame created with tidystats' |
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(dplyr)
# Calculate descriptives
descriptives <- describe_data(sleep, extra)
# Create a tidy data frame of the descriptives
tidy_describe_data(descriptives)
# With a grouping variable:
sleep %>%
group_by(group) %>%
describe_data(extra) %>%
tidy_describe_data()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.