Description Usage Arguments Value
View source: R/codebook_add_summary_stats.R
Calculate Appropriate Statistics for Variable Type
1 2  | codebook_add_summary_stats(df, .x, many_cats = 10, num_to_cat = 4,
  digits = 2, n_extreme_cats = 5)
 | 
df | 
 Data frame of interest  | 
.x | 
 Column of interest  | 
many_cats | 
 Set cutoff value for many categories/few categories  | 
num_to_cat | 
 Set cutoff value for guessing that a numeric variable is actually categorical  | 
digits | 
 Number of digits after decimal to display  | 
n_extreme_cats | 
 Number of extreme values to display  | 
A tibble of results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.