powered by
Computes correlation coefficients for all combinations of the specified variables. If no variables are specified, all numeric (integer or double) variables are used.
correlate(data, ..., method = "pearson")
a tibble
Variables to compute correlations for (column names). Leave empty to compute for all numeric variables in data.
a character string indicating which correlation coefficient is to be computed. One of "pearson" (default), "kendall", or "spearman"
Other correlations: correlation_test
correlation_test
# NOT RUN { WoJ %>% correlate(ethics_1, ethics_2, ethics_3) WoJ %>% correlate() # }
Run the code above in your browser using DataLab