Flexible time classes for time series analysis and forecasting with mixed temporal granularities. Supports linear and cyclical time representations in discrete and continuous forms, with timezone support, across multiple calendar systems including Gregorian and ISO week date calendars. Time points are stored numerically relative to a chronon; an atomic time granule defined by time units of a calendar. Calendrical arithmetic enables conversion between time granules (e.g. days to months) and calendar systems. Multi-unit arithmetic allows for temporal analysis with other granules of common calendars (e.g. fortnights are 2-week units). Time vectors of different granularities (e.g. monthly and quarterly) can be combined in a single vector, making 'mixtime' ideal for data that changes observation frequency over time or requires temporal reconciliation across scales. The package is extensible, allowing users to define custom calendars that build upon civil and astronomical time systems.
Package details |
|
|---|---|
| Author | Mitchell O'Hara-Wild [aut, cre] (ORCID: <https://orcid.org/0000-0001-6729-7695>), Cynthia Huang [ctb] (ORCID: <https://orcid.org/0000-0002-9218-987X>), Rob Hyndman [ctb] (ORCID: <https://orcid.org/0000-0002-2140-5352>) |
| Maintainer | Mitchell O'Hara-Wild <mail@mitchelloharawild.com> |
| License | MIT + file LICENSE |
| Version | 0.5.0 |
| URL | https://pkg.mitchelloharawild.com/mixtime/ https://github.com/mitchelloharawild/mixtime |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.