View source: R/makeme_helpers.R
| generate_data_summary | R Documentation |
Internal helper function that routes to the appropriate data summarization function based on the detected variable types (categorical vs continuous).
generate_data_summary(
variable_types,
subset_data,
dep_crwd,
indep_crwd,
args,
...
)
variable_types |
List with dep and indep variable type information |
subset_data |
Data frame subset for the current crowd |
dep_crwd |
Character vector of dependent variable names for current crowd |
indep_crwd |
Character vector of independent variable names for current crowd |
args |
List of makeme function arguments |
... |
Additional arguments passed to summarization functions |
Data summary object (type depends on variable types):
For integer/numeric dep + factor/character indep: calls summarize_int_cat_data()
For factor/character dep: calls summarize_cat_cat_data()
For mixed types: throws error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.