tibble_correlation: Calculate correlations between tibble columns

Description Usage Arguments

View source: R/calc_tibbles.R

Description

Calculate the correlation between all pairs from a selection of columns. The column names are stored in factor columns cat1 and cat2, with order based upon hclust

Usage

1
tibble_correlation(tbl, x, y = NULL, filter_diag = FALSE, ...)

Arguments

tbl

A tibble.

x

Tidy selection of variables for x

y

Optional tidy selection of variables for y. If given correlations between x and y are calculated, otherwise all correlations between x are calculated.

filter_diag

Whether to filter diagonal entries

...

Other arguments to pass to cor


allydunham/tblhelpr documentation built on Nov. 20, 2019, 7:35 a.m.