Package: aion 1.2.0

Nicolas Frerebeau

aion: Archaeological Time Series

A toolkit for archaeological time series and time intervals. This package provides a system of classes and methods to represent and work with archaeological time series and time intervals. Dates are represented as "rata die" and can be converted to (virtually) any calendar defined by Reingold and Dershowitz (2018) <doi:10.1017/9781107415058>. This packages offers a simple API that can be used by other specialized packages.

Authors:Nicolas Frerebeau [aut, cre], Joe Roe [aut], Brice Lebrun [ctb], Université Bordeaux Montaigne [fnd], CNRS [fnd]

aion_1.2.0.tar.gz
aion_1.2.0.tar.gz(r-4.5-noble)aion_1.2.0.tar.gz(r-4.4-noble)
aion_1.2.0.tgz(r-4.4-emscripten)aion_1.2.0.tgz(r-4.3-emscripten)
aion.pdf |aion.html
aion/json (API)
NEWS

# Install 'aion' in R:
install.packages('aion', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tesselle/aion/issues

Datasets:
  • dates - Sample Data from Reingold and Dershowitz

4.93 score 5 packages 19 scripts 490 downloads 52 exports 1 dependencies

Last updated 11 days agofrom:808ef87c9d. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-linuxOKNov 14 2024

Exports:ADArithas_dateas_decimalas_fixedas_yearas.data.frameb2kBCBCEBPcalendarcalendar_directioncalendar_epochcalendar_fixedcalendar_labelcalendar_namecalendar_unitCEconvertendfixedfixed_from_ADfixed_from_b2kfixed_from_BCfixed_from_BCEfixed_from_BPfixed_from_CEfixed_from_julianfixed_to_ADfixed_to_b2kfixed_to_BCfixed_to_BCEfixed_to_BPfixed_to_CEfixed_to_julianformatfrequencyimageintervalsis_gregorianis_julianJoverlapplotprettyseriesspanstarttimewindowyear_axis

Dependencies:arkhe

Extending aion

Rendered fromextending.Rmdusingknitr::knitron Nov 14 2024.

Last update: 2024-11-13
Started: 2023-06-13

Introduction to aion

Rendered fromaion.Rmdusingknitr::knitron Nov 14 2024.

Last update: 2024-11-13
Started: 2023-06-13

Readme and manuals

Help Manual

Help pageTopics
Arithmetic OperatorsArith,numeric,RataDie-method Arith,RataDie,numeric-method Arith,RataDie,RataDie-method arithmetic
Date Conversion from _Rata Die_as_date as_date,numeric,GregorianCalendar-method as_date,numeric,JulianCalendar-method as_date-method
Converts a Date to a Decimal of its Yearas_decimal as_decimal,numeric,numeric,numeric,GregorianCalendar-method as_decimal,numeric,numeric,numeric,JulianCalendar-method as_decimal-method
Coerce to _Rata Die_as_fixed as_fixed,numeric-method as_fixed-method
Year Conversion from _Rata Die_as_year as_year,numeric,GregorianCalendar-method as_year,numeric,JulianCalendar-method as_year-method
Coerce to a Data Frameas.data.frame as.data.frame,TimeIntervals-method as.data.frame,TimeSeries-method
Calendarcalendar calendar,character-method calendar-method
Calendar Parameterscalendar_direction calendar_direction,NULL-method calendar_direction,TimeScale-method calendar_direction-method calendar_epoch calendar_epoch,TimeScale-method calendar_epoch-method calendar_fixed calendar_fixed,TimeScale-method calendar_fixed-method calendar_get calendar_label calendar_label,TimeScale-method calendar_label-method calendar_name calendar_name,TimeScale-method calendar_name-method calendar_unit calendar_unit,TimeScale-method calendar_unit-method
Calendar Converterconvert convert,character,character-method convert,TimeScale,TimeScale-method convert-method
Sample Data from Reingold and Dershowitz (2018)dates
_Rata Die_ (Fixed Date)fixed fixed,numeric,missing,missing,GregorianCalendar-method fixed,numeric,missing,missing,JulianCalendar-method fixed,numeric,numeric,numeric,GregorianCalendar-method fixed,numeric,numeric,numeric,JulianCalendar-method fixed-method
_Rata Die_ Conversion to and from Gregorian Yearsfixed_from_AD fixed_from_b2k fixed_from_BC fixed_from_BCE fixed_from_BP fixed_from_CE fixed_gregorian fixed_to_AD fixed_to_b2k fixed_to_BC fixed_to_BCE fixed_to_BP fixed_to_CE
_Rata Die_ Conversion to and from Julian Yearsfixed_from_julian fixed_julian fixed_to_julian
Date Conversion to Characterformat format,RataDie-method format,TimeScale-method
Gregorian CalendarAD b2k BC BCE BP CE gregorian
Heat Mapimage image,TimeSeries-method
Create Time Intervalsintervals intervals,numeric,numeric,TimeScale-method intervals,RataDie,RataDie,missing-method intervals-method
Is an Object a Calendar?is is_gregorian is_gregorian,ANY-method is_gregorian-method is_julian is_julian,ANY-method is_julian-method
Julian CalendarJ julian
Labelslabels labels,TimeIntervals-method labels,TimeSeries-method
Lengthlength length,TimeIntervals-method
Time Overlapoverlap overlap,TimeIntervals-method overlap-method
Plot Time Series and Time Intervalsplot plot,TimeIntervals,missing-method plot,TimeSeries,missing-method
Pretty Breakpointspretty pretty,RataDie-method
RataDie.RataDie RataDie-class
Create Time Seriesseries series,array,numeric,TimeScale-method series,array,RataDie,missing-method series,data.frame,numeric,TimeScale-method series,data.frame,RataDie,missing-method series,matrix,numeric,TimeScale-method series,matrix,RataDie,missing-method series,numeric,numeric,TimeScale-method series,numeric,RataDie,missing-method series-method
Durationspan span,TimeIntervals-method span,TimeSeries-method span-method
Terminal Timesend,TimeIntervals-method end,TimeSeries-method end-method start start,TimeIntervals-method start,TimeSeries-method start-method
Extract or Replace Parts of an Objectsubset [,RataDie-method [,TimeIntervals-method [,TimeSeries-method
Sampling Timesfrequency,TimeSeries-method frequency-method time time,TimeSeries-method time-method
TimeIntervals.TimeIntervals TimeIntervals-class
TimeScale.TimeScale TimeScale-class
TimeSeries.TimeSeries TimeSeries-class
Time Windowswindow window,TimeSeries-method window-method
Time Series Plotting Functionsyear_axis