DateReduction

DateReduction

DateHistogram 的一个选项,指定时间循环周期的长度.

更多信息

  • 设置 DateReductionperiod 指定将被分组的时间段,例如 DateHistogram[data,"Day",DateReduction"Week"] 给出有七个直方条(表示一个星期中的七天)的直方图,其中每天的事件可能来自不同的星期.
  • 可能的设置包括:
  • None非周期性的
    "Hour","Day","Week",任意 DateValue 元素

范例

基本范例  (1)

所有的事件都放入 DateHistogram 中没有任何周期性的直方条中:

以年为周期,每月为一个直方条:

以月为周期,每天为一个直方条:

Wolfram Research (2015),DateReduction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DateReduction.html.

文本

Wolfram Research (2015),DateReduction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DateReduction.html.

CMS

Wolfram 语言. 2015. "DateReduction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DateReduction.html.

APA

Wolfram 语言. (2015). DateReduction. Wolfram 语言与系统参考资料中心. 追溯自 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: 25-November-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: 25-November-2024 ]}