breaks_manual: Breaks manual

View source: R/scale_breaks.R

breaks_manualR Documentation

Breaks manual

Description

Generate a breaks vector with pre-determined threshold values.

Usage

breaks_manual(thresholds = 0.5)

Arguments

thresholds

<numeric> a numeric vector of ordered, finite thresholds.

Details

Wraps thresholds in the range of input data (which may be null or non-finite). Thresholds that fall outside the range of input are omitted from the output.

See Also

Other breaks: breaks_linear(), breaks_log(), breaks_power(), breaks_symlog(), breaks_trans()

Examples

breaks_manual(0)(-10:10)
breaks_manual(c(-10, 0, 10))(-10:10)
breaks_manual(-1:1 * 1e6)(NULL)


anthonynorth/rdeck documentation built on Aug. 11, 2024, 1:40 p.m.