geom_line: Connect observations, in ordered by x value

Description Usage See Also Examples

Description

Connect observations, in ordered by x value

Usage

1
2
3
  geom_line(aesthetics = list(), arrow = NULL,
    lineend = "butt", linejoin = "round", linemitre = 1,
    na.rm = FALSE)

See Also

Other line.geoms: geom_path, geom_segment, geom_step

Examples

1
2
3
4
df <- data.frame(x = sample(1:10), y = sample(1:10))
geom_plot(geom_line(), df)
geom_plot(geom_line(list(colour = "red")), df)
geom_plot(geom_line(list(size = 3)), df)

hadley/layers documentation built on May 17, 2019, 10:42 a.m.