Learn R Programming

scales (version 1.3.0)

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

Run this code
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)

Run the code above in your browser using DataLab