Package: mixtime 0.3.0.9000
mixtime: Mixed Temporal Vectors and Operations
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.
Authors:
mixtime_0.3.0.9000.tar.gz
mixtime_0.3.0.9000.zip(r-4.7-x86_64)mixtime_0.3.0.9000.zip(r-4.7-arm64)mixtime_0.3.0.9000.zip(r-4.6-x86_64)mixtime_0.3.0.9000.zip(r-4.6-arm64)mixtime_0.3.0.9000.zip(r-4.5-x86_64)
mixtime_0.3.0.9000.tgz(r-4.6-x86_64)mixtime_0.3.0.9000.tgz(r-4.6-arm64)mixtime_0.3.0.9000.tgz(r-4.5-x86_64)mixtime_0.3.0.9000.tgz(r-4.5-arm64)
mixtime_0.3.0.9000.tar.gz(r-4.7-arm64)mixtime_0.3.0.9000.tar.gz(r-4.7-x86_64)mixtime_0.3.0.9000.tar.gz(r-4.6-arm64)mixtime_0.3.0.9000.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mixtime/json (API)
| # Install 'mixtime' in R: |
| install.packages('mixtime', repos = c('https://mitchelloharawild.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mitchelloharawild/mixtime/issues
Pkgdown/docs site:https://pkg.mitchelloharawild.com
Last updated from:31ac57f786. Checks:14 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 167 | ||
| linux-devel-x86_64 | OK | 218 | ||
| source / vignettes | OK | 282 | ||
| linux-release-arm64 | OK | 184 | ||
| linux-release-x86_64 | OK | 178 | ||
| macos-release-arm64 | OK | 159 | ||
| macos-release-x86_64 | OK | 214 | ||
| macos-oldrel-arm64 | OK | 147 | ||
| macos-oldrel-x86_64 | OK | 343 | ||
| windows-devel-arm64 | OK | 293 | ||
| windows-devel-x86_64 | OK | 221 | ||
| windows-release-arm64 | OK | 244 | ||
| windows-release-x86_64 | OK | 193 | ||
| windows-oldrel-x86_64 | OK | 169 | ||
| wasm-release | FAIL | 135 |
Exports:%d%%di%%f%%fi%%m%%mi%%o%%oi%%p%%pi%%s%%si%as_mixtimecal_gregoriancal_isoweekcal_sym454cal_time_civilcal_time_lunarcal_time_lunar_synodiccal_time_solarcal_time_solar_transitchronon_cardinalitychronon_cardinality_fixedchronon_commonchronon_divmodchronon_epochchronon_format_attrchronon_format_cyclicalchronon_format_durationchronon_format_linearchronon_parse_cyclicalchronon_parse_linearcircsumclass_mixtimecyccyclical_labelscyclical_labels_formatcyclical_labels_parsecyclical_timedatedatetimeday_of_monthday_of_weekday_of_yeardaysdurationhoursis_mixtimeis_time_cyclicalis_time_durationis_time_linearlabel_schemelinlinear_labelslinear_labels_formatlinear_labels_parselinear_timeloc_altitudeloc_latitudeloc_longitudemillisecondsminutesmixtimemonth_of_yearmonthsmt_cyclicalmt_durationmt_linearmt_loc_unitmt_timemt_tz_unitmt_unitnew_calendarnew_cyclical_time_fnnew_duration_fnnew_linear_time_fnnew_mixtimenew_timenew_time_unitparse_formatquarterssecondstime_calendartime_ceilingtime_chronontime_componentstime_composetime_cycletime_floortime_is_complete_attime_is_cyclicaltime_is_determinate_attime_is_durationtime_is_lineartime_of_daytime_parsetime_roundtime_unit_abbrtime_unit_fulltime_unit_pluraltz_abbreviationtz_nametz_offsettz_transitionsvocab_tableweek_of_yearweeksyearyearmonthyearquarteryearsyearweek
Last update: 2026-08-23
Started: 2026-04-01
Last update: 2026-08-19
Started: 2026-05-13
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Allen's interval algebra for time vectors | %d% %di% %f% %fi% %m% %mi% %o% %oi% %p% %pi% %s% %si% allen-interval-algebra |
| Convert a time class into a mixtime | as_mixtime |
| Gregorian time unit classes | calendar_gregorian cal_gregorian |
| ISO 8601 time unit classes | calendar_isoweek cal_isoweek |
| Symmetry454 time unit classes | calendar_sym454 cal_sym454 |
| Civil time unit classes | calendar_time_civil cal_time_civil |
| Lunar time unit classes | calendar_time_lunar cal_time_lunar cal_time_lunar_synodic |
| Solar time unit classes | calendar_time_solar cal_time_solar cal_time_solar_transit |
| Cardinality between time granules | chronon_cardinality |
| Find the common chronon of a time object | chronon_common chronon_common.mixtime |
| Convert between chronons of different time granules | chronon_divmod |
| Epoch offset for chronons | chronon_epoch |
| Default formatting strings for chronon attributes | chronon_format_attr |
| Default formatting strings for chronons | chronon_format_cyclical chronon_format_duration chronon_format_linear |
| Default parsing format strings for chronons | chronon_parse_cyclical chronon_parse_linear |
| Compute circular rolling sums | circsum |
| Base S7 class for mixtime vector objects | class_mixtime |
| Linear and cyclical component helpers | component_helpers cyc lin |
| Cyclical time points | cyclical_time |
| Cyclical time helpers | cyclical_time_helpers day_of_month day_of_week day_of_year month_of_year time_of_day week_of_year |
| Duration vectors | duration |
| Duration helper functions | days duration_helpers hours milliseconds minutes months quarters seconds weeks years |
| Format mixtime vectors | format,mt_time-method format.mt_time |
| Check if an object is a mixtime | is_mixtime |
| Check the time type of values | is_time is_time_cyclical is_time_duration is_time_linear time_is_cyclical time_is_duration time_is_linear |
| Describe a granule's label scheme | cyclical_labels label_scheme linear_labels |
| Render and parse a granule's labels | cyclical_labels_format cyclical_labels_parse linear_labels_format linear_labels_parse |
| Linear time points | linear_time |
| Linear time helper functions | date datetime linear_time_helpers year yearmonth yearquarter yearweek |
| Create a mixtime vector | mixtime |
| Extract locations from an object | loc_altitude loc_latitude loc_longitude mixtime_location |
| Comparison operators for cyclical time ('mt_cyclical') | !=,mt_cyclical-method <,mt_cyclical-method <=,mt_cyclical-method ==,mt_cyclical-method >,mt_cyclical-method >=,mt_cyclical-method mt_cyclical-compare |
| Comparison operators for durations ('mt_duration') | !=,mt_duration-method <,mt_duration-method <=,mt_duration-method ==,mt_duration-method >,mt_duration-method >=,mt_duration-method mt_duration-compare |
| Comparison operators for linear time ('mt_linear') | !=,mt_linear-method <,mt_linear-method <=,mt_linear-method ==,mt_linear-method >,mt_linear-method >=,mt_linear-method mt_linear-compare |
| Time vector classes | mt_cyclical mt_duration mt_linear mt_time mt_time-class |
| Base S7 class for creating new time units | mt_loc_unit mt_tz_unit mt_unit |
| Create a new calendar | new_calendar |
| Cyclical time function factory | new_cyclical_time_fn |
| Duration function factory | new_duration_fn |
| Linear time function factory | new_linear_time_fn |
| Constructor for mixtime vectors | new_mixtime |
| Constructor for mixtime time vectors | new_time |
| Create a new time unit class | new_time_unit |
| Candidate format strings for parsing time | parse_format |
| Generate sequences of mixtime values | seq.mixtime::mixtime seq.mixtime::mt_time |
| Obtain the calendar of a time object | time_calendar |
| Obtain the chronon of a time object | time_chronon |
| Extract linear and cyclical time components | time_components |
| Compose a linear time vector from linear and cyclical components | time_compose |
| Obtain the cycle of a time object | time_cycle |
| Test whether a granule is completed at a time point | time_is_complete_at |
| Test whether time is determinate at a granule's precision | time_is_determinate_at |
| Parse text into a time point | time_parse |
| Round, floor and ceiling transformations for time objects | time_ceiling time_floor time_round trunc_time |
| Time units as a string | time_unit_abbr time_unit_full time_unit_plural |
| Get timezone abbreviation | tz_abbreviation |
| Extract timezone from an object | tz_name |
| Get timezone offset | tz_offset |
| Get timezone transitions | tz_transitions |
| Build a 'vocab' function from a plain name table | vocab_table |
