Learn R Programming

plotrix (version 3.8-4)

get.breaks: Get the breakpoints for a weighted histogram

Description

Gets the breakpoints for a weighted histogram.

Usage

get.breaks(x,breaks)

Value

A vector of breakpoints.

Arguments

x

A numeric vector.

breaks

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

Author

Jim Lemon

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