auto_t_test {autostats}R Documentation

auto t test

Description

Performs a t.test on 2 populations for numeric variables.

Usage

auto_t_test(data, col, ..., var_equal = FALSE, abbrv = TRUE)

Arguments

data

dataframe

col

a column with 2 categories representing the 2 populations

...

numeric variables to perform t.test on. Default is to select all numeric variables

var_equal

default FALSE; t.test parameter

abbrv

default TRUE; remove some extra columns from output

Value

dataframe

Examples



iris %>%
 dplyr::filter(Species != "setosa") %>%
 auto_t_test(col = Species)

[Package autostats version 0.3.0 Index]