find_origin: Find the origin.

Description Usage Arguments Details See Also Examples

View source: R/origin.r

Description

Find the origin.

Usage

1
find_origin(x, binwidth)

Arguments

x

numeric or integer vector

binwidth

binwidth

Details

This algorithm implements simple heuristics for determining the origin of a histogram when only the binwidth is specified. It:

See Also

Other reasonable defaults: find_width

Examples

1
2
3
find_origin(1:10, 1)
find_origin(1:10, 2)
find_origin(c(1, 1e6), 1)

hadley/bigvis documentation built on May 17, 2019, 9:45 a.m.