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