Learn R Programming

timetools (version 1.15.3)

Seasonal/Sequential (Instants/Durations, Even or not) Time Series

Description

Objects to manipulate sequential and seasonal time series. Sequential time series based on time instants and time durations are handled. Both can be regularly or unevenly spaced (overlapping durations are allowed). Only POSIX* format are used for dates and times. The following classes are provided : 'POSIXcti', 'POSIXctp', 'TimeIntervalDataFrame', 'TimeInstantDataFrame', 'SubtimeDataFrame' ; methods to switch from a class to another and to modify the time support of series (hourly time series to daily time series for instance) are also defined. Tools provided can be used for instance to handle environmental monitoring data (not always produced on a regular time base).

Copy Link

Version

Install

install.packages('timetools')

Monthly Downloads

791

Version

1.15.3

License

GPL

Maintainer

Vladislav Navel

Last Published

August 29th, 2023

Functions in timetools (1.15.3)

POSIXctp

Class "POSIXctp"
POSIXcti

Class "POSIXcti"
POSIXst

Class "POSIXst"
changeSupport

Function to change time support of TimeIntervalDataFrame
compute.lim

Calculate limits for plotting
%intersect%

intersects 2 ‘POSIXcti’ objects
ops.numeric

define generic function to compare anything to a numeric
TimeIntervalDataFrame

Class "TimeIntervalDataFrame"
as.data.frame

Convert an object to a data.frame
homogeneous

Test if a time object is homogeneous
interval

Extract time intervals of a time object.
continuous

Test if a time object is continuous/set an time object continuous.
duration

Extract duration of a Time object
%included%

test inclusion of 2 ‘POSIXcti’ objects
unit

define valid units for time objects/retrieve-set time unit of a time object
origin

1970-01-01 GMT
tapply

Apply a Function Over a time properties
regular

Test if a time object is regular
SubtimeDataFrame

Class "SubtimeDataFrame"
split

Divide into Groups and Reassemble (Time*DataFrame objects and POSIXct*)
overlapping

Test if any interval of a time intervals object intersect another
period

Test or extract different properties of Time objects
TimeInstantDataFrame

Class "TimeInstantDataFrame"
timezone

Get or set timezone property
timetools-package

Seasonal/Sequential (Instants/Durations, Even or not) Time Series
when

Retrieve the 'timestamp' of a Time*DataFrame