
vl_bin
vl_bin.RdAdd BinTransform to a vega-lite spec.
Arguments
- spec
- An input vega-lite spec 
- bin
- An object indicating bin properties, or simply - truefor using default bin parameters.
- as
- The output fields at which to write the start and end bin values. This can be either a string or an array of strings with two elements denoting the name for the fields for bin start and bin end respectively. If a single string (e.g., - "val") is provided, the end field will be- "val_end".
- field
- The data field to bin. 
- .object
- Directly input an object, rather than creating one via the other arguments. Should not be used in conjunction with the other arguments other than - spec. Objects can be of type: BinTransform