Skip to contents

Used for dividing bins for median line plots

Usage

quantize(x, levels, ...)

Arguments

x

vector of values (e.g. x-axis)

levels

bins

...

extra params to pass through to cut()