Description Usage Arguments Value
View source: R/model_diagnostics.R
Attach label to ggplot2::ggplot
1 2 3 4 5 | plot_label(p, data, x = NULL, y = NULL, label = TRUE,
label.label = "rownames", label.colour = NULL, label.alpha = NULL,
label.size = NULL, label.angle = NULL, label.family = NULL,
label.fontface = NULL, label.lineheight = NULL, label.hjust = NULL,
label.vjust = NULL, label.repel = FALSE, label.show.legend = NA)
|
p |
|
data |
Data contains text label |
x |
x coordinates for label |
y |
y coordinates for label |
label |
Logical value whether to display labels |
label.label |
Column name used for label text |
label.colour |
Colour for text labels |
label.alpha |
Alpha for text labels |
label.size |
Size for text labels |
label.angle |
Angle for text labels |
label.family |
Font family for text labels |
label.fontface |
Fontface for text labels |
label.lineheight |
Lineheight for text labels |
label.hjust |
Horizontal adjustment for text labels |
label.vjust |
Vertical adjustment for text labels |
label.repel |
Logical flag indicating whether to use |
label.show.legend |
Logical value indicating whether to show the legend of the text labels |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.