interval_breaks: Pick breaks for interval (1d) bins.

Description Usage Arguments Value

Description

Specify either bins or binwidth.

Usage

1
interval_breaks(bins = 10, binwidth = NULL, origin = NULL, range = NULL)

Arguments

bins

Desired number of bins

binwidth

Desired bin width

origin

Desired origin of first bin

range

Range of values to use, if different to range of data.

Value

A function that takes a single parameter, a numeric x specifying the data for which breaks are needed, and returns a vector of breaks.


garrettgman/ggsubplot documentation built on May 16, 2019, 5:39 p.m.