Learn R Programming

scales (version 0.1.0)

log_breaks: Log breaks (integer breaks on log-transformed scales).

Description

Log breaks (integer breaks on log-transformed scales).

Usage

log_breaks(n = 5, base = 10)

Arguments

n
desired number of breaks
base
base of logarithm to use

Examples

Run this code
log_breaks()(c(1, 1e6))
log_breaks()(c(1, 1e5))

Run the code above in your browser using DataLab