zoo:S3规则和不规则时间序列的基础设施
zoo: S3 Infrastructure for Regular and Irregular Time Series
摘要:
zoo是一个R包,为S3类提供了索引全序观测的方法,例如离散不规则时间序列。它的关键设计目标是独立于特定的索引/时间/日期类,并与基础R和常规时间序列的“ts”类保持一致。本文介绍了如何在动物园内实现这些功能,并提供了几个例子的“动物园”对象,其中包括绘图,合并和绑定,一些数学运算,提取和替换数据和索引,强制和NA处理的可用方法。子类“zooreg”将规则时间序列嵌入到“zoo”框架中,从而弥合了R中规则和不规则时间序列类之间的差距。
英文摘要:
zoo is an R package providing an S3 class with methods for indexed totally ordered observations, such as discrete irregular time series. Its key design goals are independence of a particular index/time/date class and consistency with base R and the "ts" class for regular time series. This paper describes how these are achieved within zoo and provides several illustrations of the available methods for "zoo" objects which include plotting, merging and binding, several mathematical operations, extracting and replacing data and index, coercion and NA handling. A subclass "zooreg" embeds regular time series into the "zoo" framework and thus bridges the gap between regular and irregular time series classes in R.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。