t_var_test {wrappedtools}R Documentation

Independent sample t-test with test for equal variance

Description

t_var_test tests for equal variance based on var.test and calls t.test, setting the option var.equal accordingly.

Usage

t_var_test(data, formula, cutoff = 0.05)

Arguments

data

Tibble or data_frame.

formula

Formula object with dependent and independent variable.

cutoff

is significance threshold for equal variances.

Value

A list from t.test

Examples

t_var_test(mtcars, wt ~ am)
# may be used in pipes:
mtcars |> t_var_test(wt ~ am)

[Package wrappedtools version 0.9.5 Index]