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 April 15, 2024, 9:35 p.m.