association_num_dummy: Tidy t-test

View source: R/association_num_dummy.R

association_num_dummyR Documentation

Tidy t-test

Description

Carry out a t-test for two vectors and export it in a tidy format with broom.

Usage

association_num_dummy(x, y, ..., name_x = NULL, name_y = NULL)

Arguments

x

A vector.

y

A vector.

...

Optional. Parameters of t.test function.

name_x

Optional. Name of the x variable (character).

name_y

Optional. Name of the y variable (character).

Value

A data.frame with the results.

Examples

association_num_dummy( mtcars$mpg, mtcars$vs  )
association_num_dummy( mtcars$vs, mtcars$mpg  ) # order is not important

octmedina/ksnet documentation built on April 18, 2023, 3:34 p.m.