geom_h0: Horizontal line on 0.

View source: R/geom_lines.R

geom_h0R Documentation

Horizontal line on 0.

Description

This geom allows you to annotate the plot with horizontal lines on y = 0.

Usage

geom_h0(dashed = FALSE)

Arguments

dashed

A locigal to have a dashed line.

Examples

p <- ggplot(mtcars, aes(x = wt, y=mpg)) + geom_point()

p + geom_h0()

pttry/ggptt documentation built on Feb. 22, 2025, 12:11 a.m.