association_2num_cor: Tidy test of correlation Carry out a correlation test for two...

View source: R/association_2num_cor.R

association_2num_corR Documentation

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

Description

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

Usage

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

Arguments

x

A vector.

y

A vector.

...

Optional. Parameters of prop.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_2num_cor(mtcars$mpg, mtcars$disp)

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