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

Description Usage Arguments Examples

View source: R/min_max_breaks.R

Description

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

Usage

1
min_max_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 = min_max_breaks)

Kidapt/keda documentation built on Nov. 23, 2019, 3:35 a.m.