Calculate correlation matrix of a numeric data set and stretch to long format for convenient filtering..
Arguments
- x
A tibble, data frame or matrix containing numeric columns to be correlated.
- method, use
Arguments that are passed to
stats::cor()
- shave
logical. if TRUE, only the lower triangle of the correlation matrix is kept.