compute_corr: Computes a tidy correlation

View source: R/compute_corr.R

compute_corrR Documentation

Computes a tidy correlation

Description

Computes a tidy correlation

Usage

compute_corr(data, var1, var2)

Arguments

data

input data set

var1

name of variable 1 (unquoted)

var2

name of variable 2 (unquoted)

Value

A tibble with the Pearson Correlation and the p-value

Examples

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


shafayetShafee/ralph documentation built on May 23, 2022, 3:27 p.m.