View source: R/segments_text.R
segments_text | R Documentation |
especially useful for boxplot (p-value comparison of groups)
segments_text(
text,
pos = c("above", "below"),
x0 = 1,
x1 = 2,
y,
lty = "dotted"
)
text |
text displayed |
pos |
text position regarding the line |
x0 |
line coordinates x_0 (by default = 1, to ease boxplots) |
x1 |
line coordinates x_1 (by default = 2, to ease boxplots) |
y |
line coordinates y (horizontal line only) |
lty |
line lty |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.