/** * Bins column values using a fixed number of bins. * The standard behavior here is to truncate a numeric value to the * lower bound of its bin range. This keeps the output numerical * but loses information about specific bin boundaries. * Because binning is a conversion from continuous to categorical, * many use cases prefer an output value that displays the range. * The format parameter here will produce a printed string as output. * @param column - name of the column to bin * @param min - inclusive minimum of the bin range * @param max - inclusive maximum of the bin range * @param count - number of bins to create, they will be equal width * @param clamped - whether values outside of the bin range should be clamped to the bounds. If this is false, out-of-bounds values will be +/-Infinity. * @param format - whether to return a formatted string that prints the bin range. * @returns */ export declare function fixedBinCount(column: string, min: number, max: number, count: number, clamped?: boolean, format?: boolean): string | object; /** * Bins column values using a fixed bin width. The number of resulting bins is therefore variable. * The standard behavior here is to truncate a numeric value to the * lower bound of its bin range. This keeps the output numerical * but loses information about specific bin boundaries. * Because binning is a conversion from continuous to categorical, * many use cases prefer an output value that displays the range. * The format parameter here will produce a printed string as output. * @param column - name of the column to bin * @param min - inclusive minimum of the bin range * @param max - inclusive maximum of the bin range * @param step - the width each bin should be * @param clamped - whether values outside of the bin range should be clamped to the bounds. If this is false, out-of-bounds values will be +/-Infinity. * @param format - whether to return a formatted string that prints the bin range. * @returns */ export declare function fixedBinStep(column: string, min: number, max: number, step: number, clamped?: boolean, format?: boolean): string | object;