Description Usage Arguments Examples
View source: R/gg-constructors.R
Add a vertical line to your graph
1  | agg_vline(x, colour = "black", panel, lwd = 1, lty = 1)
 | 
x | 
 The x coordinate to draw the vertical line at  | 
colour | 
 The colour of the line (default black)  | 
panel | 
 Which panel should the line be placed on? You can specify a vector of panels (e.g. 'panel = c("1","3")') to apply the line to multiple panels at once.  | 
lwd | 
 (Optional, default 1) The line width  | 
lty | 
 (Optional, default 1) The line type (uses R line types)  | 
1  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.