t_var_test: Independent sample t-test with test for equal variance

Description Usage Arguments Value Examples

View source: R/tests.R

Description

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

Usage

1
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

1
2
3
t_var_test(mtcars, wt ~ am)
# may be used in pipes:
mtcars %>% t_var_test(wt ~ am)

wrappedtools documentation built on Sept. 6, 2021, 5:08 p.m.