chop.breaks {ggplot2}R Documentation

Chop breaks

Description

Calculate breakpoints for chop function

Usage

chop.breaks(x, n, method, midpoint=NA)

Arguments

x continuous variable
n number of bins to chop into
method method to use: quantiles (approximately equal numbers), cut (equal lengths) or pretty
midpoint mid point for diverging factors

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot2 version 0.8.1 Index]