View source: R/geom_pca_arrows.R
geom_pca_arrows | R Documentation |
Eigen Value plot geom for tidymodel PCA
geom_pca_arrows(
pca_rec,
pc_x = 1,
pc_y = 2,
labels = TRUE,
labels_fill = "white",
labels_color = "#0A537D",
labels_size = 0.25,
label_font_size = 3,
label_rect_padding = 0.25,
labels_font_size = 3,
labels_rect_padding = 0.25,
...
)
pca_rec |
The PCA recipe, a tidymodel object. |
pc_x |
PC shown on x-axis. |
pc_y |
PC shown on y-axis. |
labels |
If TRUE labels of the arrows are plotted. |
labels_fill |
Fill color of the labels |
labels_color |
Color of the labels text |
labels_size |
Size of the labels |
labels_font_size |
Size of the font in the labels |
labels_rect_padding |
Size of the padding around the labels |
... |
Arguments passed on to geom_label_repel, which is drawing the arrows. |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.