Category: RStudio

  • Simple Stacked Bar Graph in R

    Simple Stacked Bar Graph in R

    In this example, I am going to use the GSS 2018 data (NORC at the University of Chicago, 2019) to investigate individual’s belief in the afterlife across age group (You may download the dataset from here: https://gss.norc.org/us/en/gss/get-the-data.html). Importing the Data First, we need to import the data into R. Because the datasets are only available…