Structs

Represents a single bin in a classification, including the bin’s lowest (inclusive) and highest (exclusive) values and the number of points within it

Functions

Returns a Classification object given a set of breaks between bins and the original dataset

Returns an Option containing the index of the Bin within which a value should fall given the value and a Classification (returns None if the value is outside of the Classification’s range)

Returns a vector of breaks generated through the Equal Interval Breaks algorithm given the desired number of bins and a dataset

Returns a Classification object following the Equal Interval Breaks algorithm given the desired number of bins and one-dimensional data

Returns a vector of breaks generated through the Head-Tail Breaks algorithm given a dataset

Returns a Classification object following the Head-Tail Breaks algorithm given one-dimensional data

Returns a vector of breaks generated through the Hinge Breaks algorithm given the desired number of bins and a dataset

Returns a Classification object following the Hinge Breaks algorithm given the desired number of bins and one-dimensional data

Returns a vector of breaks generated through the Jenks Natural Breaks algorithm given the desired number of bins and a dataset

Returns a Classification object following the Jenks Natural Breaks algorithm given the desired number of bins and one-dimensional data

Returns a vector of breaks generated through the Quantile Breaks algorithm given the desired number of bins and a dataset

Returns a Classification object following the Quantile Breaks algorithm given the desired number of bins and one-dimensional data

Returns a vector of breaks generated through the Standard Deviation Breaks algorithm given the desired bin size as a proportion of a standard deviation and a dataset Note: This algorithm calculates Standard Deviation with Bessel’s correction

Returns a Classification object following the Standard Deviation Breaks algorithm given the desired bin size as a proportion of a standard deviation and one-dimensional data Note: This algorithm calculates Standard Deviation with Bessel’s correction

Type Definitions

Represents a full classification, which is a collection of Bin objects