getBreaks {oaPlots}R Documentation

Divide the range of x into intervals, returning the breakpoints of these intervals

Description

Divide the range of x into intervals, returning the breakpoints of these intervals

Usage

getBreaks(x, breaks, dig.lab = 3L)

Arguments

x

a numeric vector which is to be converted to a factor by cutting

breaks

a single number (greater than or equal to 2) giving the number of intervals into which x is to be cut

dig.lab

integer which is used when labels are not given. It determines the number of digits used in formatting the break numbers

Value

a vector of numeric breakpoints

Author(s)

Jason Waddell


[Package oaPlots version 0.0.25 Index]