In Class Exercise 4

A new article created using the Distill format.

Ong Zhi Rong Jordan https://example.com/norajones (Spacely Sprockets)https://example.com/spacelysprokets
2022-05-07

Getting Started

Setting up R Packages

To start with ggstatsplot and tidyverse packages will be launched using library ().

packages = c('ggstatsplot','tidyverse')
for (p in packages){
  if(!require(p, character.only = T)){
    install.packages(p)
  }
}

Importing data

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

Working with ggstatsplot

Anova Test

set.seed(123)

ggbetweenstats(
  data = exam,
  x = RACE, 
  y = ENGLISH,
  type = "bayes"
)