powered by
Visualise F test to compare two variances
ggvartest(t, colaccept = "lightsteelblue1", colreject = "gray84", colstat = "navyblue")
a list result of var.test of "htest" class
var.test
color the acceptance area of the test, see colors
colors
color for the rejection area of the test
color for the test statistic vline
# NOT RUN { x <- rnorm(50, mean = 0, sd = 2) y <- rnorm(30, mean = 1, sd = 1) var_test <- var.test(x, y) var_test ggvartest(var_test) # }
Run the code above in your browser using DataLab