geom_line {ggplot2} R Documentation

Connect observations

Description

<br /> geom_path() connects the observations in the order in which they appear in <br /> the data. geom_line() connects them in order of the variable on the x axis. <br /> geom_step() creates a stairstep plot, highlighting exactly when changes <br /> occur. The group aesthetic determines which cases are connected together.

Usage

geom_line(
    mapping = NULL,
    color = NULL,
    width = 5,
    show.legend = TRUE,
    alpha = 1,
    bspline = FALSE);

Arguments

bspline

[as boolean]

Details

An alternative parameterisation is geom_segment(), where each line corresponds to a single case which provides the start and end coordinates.

Authors

SMRUCC genomics institute

Value

A line chart plot layer

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]