gen_nice_breaks: format a numeric vector of breaks nicely for printing

View source: R/general_functions.R

gen_nice_breaksR Documentation

format a numeric vector of breaks nicely for printing

Description

format a numeric vector of breaks nicely for printing

Usage

gen_nice_breaks(breaks, limits)

Arguments

breaks

numeric vector

limits

numeric vector of length 2. If present, breaks must be within limits

Value

list with two elements: breaks: numeric vector of same length break_names: character vector of same length order_magnitude: highest order of magnitude of breaks


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.