Description Usage Arguments Examples
This function calculates correlation among all numerical attributes in a tidy format.
1 2 | calculate_correlation(df, cutoff = 0, method = "spearman",
use = "pairwise.complete.obs", dedup = TRUE)
|
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 |
1 | calculate_correlation(recipes::credit_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.