Description Usage Arguments Examples
A stat to calculate bead positions (with segments)
1 2 3 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
geom |
The geometric object to use display the data |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
segments |
A data.frame describing max and min of each group |
segment_id |
A variable descriging the segment if |
... |
other arguments passed on to |
1 2 | ggplot2::ggplot(data, ggplot2::aes(dist, y)) +
stat_string(segments = segments)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.