Description Usage Arguments Examples
View source: R/plot_corr_target.R
Plot all correlations against a target variable.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
df |
A tibble |
fct_reorder |
Re-order factors? |
fct_rev |
Reverse factors? |
include_lbl |
Logical scalar - include label in plot? |
lbl_precision |
Numeric scalar indicating placement of label |
size |
Numeric scalar indicating size of plot geoms |
line_size |
Numeric scalar indicating line size for plot |
vert_size |
Numeric scalar indicating size of segment |
color_pos |
Character scalar for color (positive correlations) |
color_neg |
Character scalar for color (negative correlations) |
1 | mtcars %>% plot_cor(target = mpg, fct_reorder = T, fct_rev = F, lbl_position = "outward")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.