Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

geom_ref_line

Add a reference line (ggplot2).


Description

Add a reference line (ggplot2).

Usage

geom_ref_line(h, v, size = 2, colour = "white")

Arguments

h, v

Position of horizontal or vertical reference line

size

Line size

colour

Line colour


modelr

Modelling Functions that Work with the Pipe

v0.1.8
GPL-3
Authors
Hadley Wickham [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.