| Package | Function | Categorical or Numeric? | Type | What it does |
|---|---|---|---|---|
| built-in | summary() |
Both | Quick browsing | Base R’s simple way to get a quick stats of each variable |
skimr |
skim() |
Both | Quick browsing, Grouped summaries | Overview of every variable in your dataset at once |
rstatix |
get_summary _stats() |
Numeric | Quick browsing, Grouped summaries | Automatically generates common numeric summary statistics |
dplyr |
summarize() |
Both | Pointed summaries, Grouped summaries | Calculates custom summary statistics you specify yourself |
janitor |
tabyl() |
Categorical | Quick browsing | Builds frequency tables for one or more categorical variables |
gtsummary |
tbl_summary() |
Both | Presentations, Grouped summaries | Creates a polished, publication-ready summary table |
| Package | Function | Type | What it does |
|---|---|---|---|
dplyr |
group_by() |
Grouped summaries | Splits your data into groups so later functions operate per group |
gt |
gt() |
Presentation | Creates a polished, publication-ready table |
Remember, you can use pacman::p_load() to install and load packages in one step
Needed packages:
dplyrskimrrstatixjanitorgtsummarygtData Summarization: Intro