Learn R Programming

cowplot (version 0.5.0)

draw_line: Draw a line.

Description

This is a convenience function. It's just a thin wrapper around geom_line().

Usage

draw_line(x, y, ...)

Arguments

x
Vector of x coordinates.
y
Vector of y coordinates.
...
Style parameters, such as colour, alpha, size, etc.