R: Attach label to 'ggplot2::ggplot'

plot_label {ggfortify} | R Documentation

## Attach label to `ggplot2::ggplot`

### Description

Attach label to `ggplot2::ggplot`

### Usage

    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)

### Arguments

`p` | `ggplot2::ggplot` instance
`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 `ggrepel`, enabling this may take some time for plotting

### Value

ggplot

[Package ggfortify version 0.4.3 Index]