ggvartest {gginference} | R Documentation |
F test plot
Description
Visualise F test to compare two variances
Usage
ggvartest(t, colaccept = "lightsteelblue1",
colreject = "gray84", colstat = "navyblue")
Arguments
t |
a list result of |
colaccept |
color the acceptance area of the test, see |
colreject |
color for the rejection area of the test |
colstat |
color for the test statistic vline |
Examples
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)
[Package gginference version 0.1.3 Index]