calculate_correlation: Calculate tidy correlation

Description Usage Arguments Examples

Description

This function calculates correlation among all numerical attributes in a tidy format.

Usage

1
2
calculate_correlation(df, cutoff = 0, method = "spearman",
  use = "pairwise.complete.obs", dedup = TRUE)

Arguments

df

A a data frame

cutoff

Include correlation higher then a threshold. Defaults to 0 - all variables are included

method

Which correlation should be computed. Defaults to "spearman"

use

Which method for computing correlation in presence of missing values. Defaults to "pairwise.complete.obs"

dedup

Should all rows of the resulting table be deduplicated? Defaults to TRUE

Examples

1
calculate_correlation(recipes::credit_data)

konradsemsch/aider documentation built on May 22, 2019, 2:40 p.m.