ggvartest: F test plot

View source: R/ggvartest.R

ggvartestR 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 var.test of "htest" class

colaccept

color the acceptance area of the test, see colors

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)

okgreece/gginference documentation built on July 6, 2023, 10:02 a.m.