Learn R Programming

⚠️There's a newer version (1.15.3) of this package.Take me there.

timetools (version 1.5.2)

provides objects and tools to manipulate irregular heterogeneous time data and subtime data.

Description

This package is intended to manipulate irregular time series such as subtime series, series based on time intervals, etc. This package uses only POSIX* format. Main things defined in this package are the classes POSIXcti, POSIXctp, TimeIntervalDataFrame, TimeInstantDataFrame, SubtimeDataFrame, methods to switch from one class to another and the changeSupport method for TimeIntervalDataFrame.

Copy Link

Version

Install

install.packages('timetools')

Monthly Downloads

791

Version

1.5.2

License

GPL

Maintainer

Vladislav Navel

Last Published

May 5th, 2013

Functions in timetools (1.5.2)

unit

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

Create an object of class POSIXst (subtime object) (S4 class)
split

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

test inclusion of 2 POSIXcti objects
ops.posixctpi

Operators to sum or substract POSIXctp from POSIXct or POSIXcti
tapply

Apply a Function Over a time properties
period

Test or extract different properties of Time objects
compute.lim

Calculate limits for plotting
as.TimeIntervalDataFrame

Convert an object to a TimeIntervalDataFrame
as.TimeInstantDataFrame

Convert an object to a TimeInstantDataFrame
ops.numeric

define generic function to compare anything to a numeric
changeSupport

Function to change time support of TimeIntervalDataFrame
POSIXctp-class

Class "POSIXctp"
RegularTimeIntervalDataFrame

Create a regular TimeIntervalDataFrame from scratch
TimeInstantDataFrame-class

Class "TimeInstantDataFrame"
TimeIntervalDataFrame-class

Class "TimeIntervalDataFrame"
format

format a POSIX*t* object
overlapping

Test if any interval of a time intervals object intersect another
as.POSIXctp

Convert an object to a POSIXctp
%intersect%

intersects 2 POSIXcti objects
TimeIntervalDataFrame

Create a TimeIntervalDataFrame from scratch
POSIXst-class

Class "POSIXst"
RegularTimeInstantDataFrame

Create a regular TimeInstantDataFrame from scratch
as.POSIXcti

Convert an object to a POSIXcti
SubtimeDataFrame-class

Class "SubtimeDataFrame"
timetools-package

provides objects and tools to manipulate irregular heterogeneous time data and subtime data.
SubtimeDataFrame

Create a SubtimeDataFrame from scratch
duration

Extract duration of a Time object
continuous

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

Retrieve the 'timestamp' of a Time*DataFrame
homogeneous

Test if a time object is homogeneous
origin

1970-01-01 GMT
timezone

Get or set timezone property
regular

Test if a time object is regular
POSIXcti-class

Class "POSIXcti"
TimeInstantDataFrame

Create a TimeInstantDataFrame from scratch
interval

Extract time intervals of a time object.
as.SubtimeDataFrame

Convert an object to a SubtimeDataFrame