Learn R Programming

plotrix (version 3.7-8)

get.breaks: Get the breakpoints for a weighted histogram

Description

Gets the breakpoints for a weighted histogram.

Usage

get.breaks(x,breaks)

Arguments

x

A numeric vector.

breaks

Either the name of the function to calculate breakpoints, the number of categories or a vector of breakpoints.

Value

A vector of breakpoints.

Details

get.breaks either calls the same functions as hist to get breakpoints or calculates a given number or just returns breaks if they are already specified.

See Also

hist