powered by
Visualise one and/or two sample t-tests on vectors of data.
ggttest(t, colaccept="lightsteelblue1", colreject="grey84", colstat="navyblue")
a list result of t.test of "htest" class
t.test
color the acceptance area of the test
color for the rejection area of the test
color for the test statistic vline
# NOT RUN { t_test <- t.test(sleep$extra ~ sleep$group) t_test ggttest(t_test) t_test2 <- t.test(x = 1:10, y = c(7:20)) t_test2 ggttest(t_test2) # }
Run the code above in your browser using DataLab