Description Usage Arguments Examples
Calculate correltions for all numeric variables against a target variable.
1 2 3 4 5 6 7 | calc_corr_target(
df,
target,
use = "pairwise.complete.obs",
fct_reorder = FALSE,
fct_rev = FALSE
)
|
df |
A tibble |
target |
Name of continuous target variable |
use |
A string indicating missing valuable treatment for correlation analysis |
fct_reorder |
Re-order factors? |
fct_rev |
Reverse factors? |
1 | get_cor(mtcars, mpg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.