function Bin(params) {
    Transform.call(this, null, params);
  }
Generates a binning function for discretizing data.
@constructor
@param {object} params - The parameters for this operator. The
  provided values should be valid options for the {@link bin} function.
@param {function(object): *} params.field - The data field to bin.