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:

Wolfram Research (2015), DateReduction, Wolfram Language function, https://reference.wolfram.com/language/ref/DateReduction.html.

Text

Wolfram Research (2015), DateReduction, Wolfram Language function, https://reference.wolfram.com/language/ref/DateReduction.html.

CMS

Wolfram Language. 2015. "DateReduction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DateReduction.html.

APA

Wolfram Language. (2015). DateReduction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DateReduction.html

BibTeX

@misc{reference.wolfram_2024_datereduction, author="Wolfram Research", title="{DateReduction}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/DateReduction.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_datereduction, organization={Wolfram Research}, title={DateReduction}, year={2015}, url={https://reference.wolfram.com/language/ref/DateReduction.html}, note=[Accessed: 22-December-2024 ]}