Skip to contents

Compute break points with rounded range

Usage

get_break_rngdgt(x, bin = 0.2)

Arguments

x

A numeric vector of values to compute breaks for.

bin

A numeric scalar indicating the bin width (default: 0.2).

Value

A numeric vector of break points from minimum to maximum of x, rounded to fit the bin width.