Hands-on Exercise 1

Author

Li Zhongchao

Getting Started

Install and launching R packages

The code chunk below used p_load() of pacman package to check if tidyverse packages are installed in the system. if they are,then they will be launched into R.

pacman::p_load(tidyverse)

Importing the data

exam_data <- read_csv("data/Exam_data.csv")

Plotting a simple bar chart

ggplot(data = exam_data,
       aes(x = RACE)) + 
  geom_bar()