Calculates Pearson correlation coefficients for all numeric variables. Rounds the outcome to desired decimals. Outputs a matrix or a dataframe (longer matrix)
corr_matrix.Rd
Calculates Pearson correlation coefficients for all numeric variables. Rounds the outcome to desired decimals. Outputs a matrix or a dataframe (longer matrix)
Value
a generic correlation matrix and its longer form that can be passed to other functions in this package.
Examples
corr_matrix(tibble::tibble(x = 1:5, y = 2:6))