Ye Naing Oo
May 6, 2023
Invalid Date
pacman::p_load(rstatix, gt, patchwork, tidyverse)
exam_data <- read.csv("data/Hands-on_Ex04/Exam_data.csv")
ggplot(exam_data, aes(sample=ENGLISH)) + stat_qq() + stat_qq_line()
Note: some note here
qq <- ggplot(exam_data, aes(sample=ENGLISH)) + stat_qq() + stat_qq_line() sw_t <- exam_data %>% shapiro_test(ENGLISH) %>% gt() tmp <- tempfile(fileext = '.png') gtsave(sw_t,tmp) table_png <- png::readPNG(tmp,native = TRUE) qq + table_png