association_num_fac: Tidy analysis of variance test (ANOVA)

View source: R/association_num_fac.R

association_num_facR Documentation

Tidy analysis of variance test (ANOVA)

Description

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

Usage

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

Arguments

x

A vector.

y

A vector.

...

Optional. Parameters of aov 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_fac(mtcars$mpg, as.factor(mtcars$cyl))

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