DateReduction

DateReduction

is an option for DateHistogram that specifies the length for cyclic periods of time.

Details

  • The setting DateReductionperiod is used to indicate the period of time that will be binned, e.g. DateHistogram[data,"Day",DateReduction"Week"] gives a histogram with seven-day bins, where events on each day may come from different weeks.
  • Possible settings include:
  • Noneno periodicity
    "Hour","Day","Week",any DateValue element

Examples

Basic Examples  (1)

All events are placed in bins without any periodicity in DateHistogram:

Use monthly bins with a yearly period:

Use daily bins with a monthly period:

Introduced in 2015
 (10.2)