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

regular_minor_breaks

Minor breaks


Description

Places minor breaks between major breaks.

Usage

regular_minor_breaks(reverse = FALSE)

Arguments

reverse

if TRUE, calculates the minor breaks for a reversed scale

Examples

m <- extended_breaks()(c(1, 10))
regular_minor_breaks()(m, c(1, 10), n = 2)

n <- extended_breaks()(c(0, -9))
regular_minor_breaks(reverse = TRUE)(n, c(0, -9), n = 2)

scales

Scale Functions for Visualization

v1.1.1
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], Dana Seidel [aut], RStudio [cph]
Initial release

We don't support your browser anymore

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