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

Description Usage Arguments Details Value

Description

Pick breaks for interval (1d) bins.

Usage

1
interval_breaks(bins=20, binwidth, origin, range)

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.

Details

Specify either bins or binwidth.

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.


hadley/densityvis documentation built on May 17, 2019, 9:56 a.m.