find.bins: Find breakpoints for binning numeric values

Description Usage Arguments See Also Examples

Description

Find breakpoints for binning numeric values

Usage

1
find.bins(x, num.bins = 10)

Arguments

x

data to be binned

num.bins

number of bins to aim for

See Also

label.bins for bin labels suitable for a legend

bin.ints for generating a factor with labels

Examples

1
2
3
x <- rpois(100, 10)
bins <- find.bins(x)
x.bin <- findInterval(x, bins)

sushilashenoy/zoom.plot documentation built on May 30, 2019, 8:42 p.m.