add labels at given x-positions to plot (with alternating y positions to avoid overlapping labels)
addLabels(x, labels = as.character(x), y0 = 0, bandheight = 0.1, col = "black", group.size = 3, alternating = FALSE, col.line = "black", lty = 1, lty.horiz.line = 0, adj = -0.1, cex = 0.7)
| x | x positions of the labels |
|---|---|
| labels | vector of character containing the labels |
| y0 | base y position of the labels |
| bandheight | height of band "around" (alternating == FALSE) or above (alternating == TRUE) y0 as a fraction of the plot region height (e.g. 0.1 for 10 percent). Default: 0.1 |
| col | colour of the labels |
| group.size | passed to |
| alternating | passed to |
| col.line | colour of the lines to the labels |
| lty | type of the lines to the labels (as defined in |
| lty.horiz.line | type of the horizontal line (as defined in
|
| adj | passed to |
| cex | passed to |