compute_corr: Computes a tidy correlation

Description Usage Arguments Value Examples

View source: R/compute_corr.R

Description

Computes a tidy correlation

Usage

1
compute_corr(data, var1, var2)

Arguments

data

input data set

var1

name of variable 1

var2

name of variable 2

Value

A tibble with the Pearson correlation and the p-value

Examples

1
compute_corr(data = faithful, var1 = eruptions, var2 = waiting)

leihe2021/correlation2 documentation built on Dec. 21, 2021, 9:51 a.m.