summarise_allcbundle | R Documentation |
This function summarises all the categorical variables in the data set and create bundles based on the category labels
summarise_allcbundle(df, group = NULL)
df |
data frame |
group |
string vector with the names of the grouping variables (can be more than one). The summary will be computed by groups. Default |
It returns a tibble data frame with summaries for all categorical variables. The summaries are aggregated into single tables based on the category labels.
data(edar_survey) ## help(edar_survey) tab = summarise_allcbundle(edar_survey) tab tab$Table[[4]] tab$tabp[[4]] tab$tabl[[4]] tab = summarise_allcbundle( edar_survey, group="gender") tab tab$Table[[5]] tab$tabp[[5]] tab$tabl[[5]] # or with pipe # edar_survey %>% summarise_allcbundle(., group="gender")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.