geom_abline2: Process Parameters for both Vertical and Non-Vertical Lines

Description Usage Arguments Value

View source: R/geom_abline2.R

Description

Process Parameters for both Vertical and Non-Vertical Lines

Usage

1
geom_abline2(slope, intercept, color)

Arguments

slope

Argument to geom_abline. If infinite, passed to geom_vline instead.

intercept

Argument to geom_abline. Treated as geom_vline's x-intercept argument if slope is infinite.

color

Argument to either function

Value

a geom_abline or geom_vline object, depending on the arguments used


ryan-heslin/matador documentation built on Dec. 22, 2021, 8:17 p.m.