calculate_correlations: Function to calculate correlations and return a tidy output.

View source: R/calculate_correlations.R

calculate_correlationsR Documentation

Function to calculate correlations and return a tidy output.

Description

Function to calculate correlations and return a tidy output.

Usage

calculate_correlations(df, type = "pearson")

Arguments

df

Input data frame/tibble. Only numeric variables in df will be used for the calculation.

type

Type of correlation statistic: "pearson" or "spearman".

Value

Tibble.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on Jan. 10, 2025, 10:06 a.m.