ds_correlation | R Documentation |
Compute Correlation Index
ds_correlation(.data, .cols, .name) correlation(..., .data = dplyr::across(everything()))
.data |
tibble |
.cols |
|
.name |
name for column with Correlation index. Leave missing to return a vector. |
... |
arguments to forward to ds_correlation from correlation |
a tibble or numeric vector if .name missing
data('de_county') ds_correlation(de_county, c(pop_white, starts_with('pop_'))) ds_correlation(de_county, starts_with('pop_'), 'correlation')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.