We will be working with the same US demographic data for our exploratory analyses.
You can download the csv file and add it to your RStudio (or Posit Cloud) project if you have not done that yet.
Create a new R script file and save it as county-categorical-data-analysis.R
and load the tidyverse
package and the data.
Histogram: the frequency distribution of a continuous variable across different groups
Mean and median – add group_by
with categorical variable
Range, standard deviation – add group_by
with categorical variable