correlations_per_group.Rd
Calculate correlation for selected variables in groups
correlations_per_group(.data, ..., group_var = NULL)
Data frame containing the data.
Variable names (quoted or unquoted) to calculate the correlation for.
Variable used to divide data into categories. Default value is NULL
.
Data frame containing correlations summaries.
df_corrs <- correlations_per_group(mtcars, wt, qsec, group_var = cyl)