geom_vline {ggplot2} R Documentation

Reference lines: horizontal, vertical, and diagonal

Description

<br /> These geoms add reference lines (sometimes called rules) to a plot, <br /> either horizontal, vertical, or diagonal (specified by slope and<br /> intercept). These are useful for annotating plots.

Usage

geom_vline(xintercept,
    color = "black",
    line.width = 2,
    linetype = Solid);

Arguments

xintercept

[as double]

color

line.width!

linetype

[as DashStyle]

Details

Authors

SMRUCC genomics institute

Value

this function returns data object of type ggplotLayer.

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]