limitless_breaks: Sets breaks in ggplot axis without regard to min and max...

Description Usage Arguments Examples

View source: R/limitless_breaks.R

Description

Sets breaks in ggplot axis without regard to min and max limits of that axis

Usage

1
limitless_breaks(.x, .step = 1)

Arguments

.x

the axis (usualy left blank in ggplot usage)

.step

the interval step for your breaks

Examples

1
ggplot(mtcars, aes(x=wt,y=mpg)) + geom_point() + scale_y_continuous(breaks = limitless_breaks)

joepowers16/breadcrumbs documentation built on Dec. 25, 2019, 4:13 p.m.