Learn R Programming

timetools (version 1.1-2)

POSIXcti-class: Class "POSIXcti"

Description

Class that defines 'time interval' objects. A time interval is defined by two dates : its beginning and its ending.

Arguments

Details

Objects of this class are used to represent time intervals. Start and end of an interval or POSIXcti (the i stands for interval) are POSIXct objects.

This class facilitate the use of TimeIntervalDataFrame objects.

To list all methods available for POSIXcti, type in the R console :

methods(class='POSIXcti') # for S3 methods}

showMethods(class='POSIXcti') # for S4 methods}

To get back to this documentation from the R console : class?POSIXcti

Objects from the Class
{ Objects can be created by calls of the form
  • new("POSIXcti", ...)...argument must be replaced by named arguments coresponding to slots of a POSIXcti (see below). See alsonew.
  • POSIXcti (start, end, timezone='UTC')Arguments of the function correspond to object slots. SeePOSIXctifor details.
  • as.POSIXcti (from, ...)Converting object to POSIXcti.
}
Slots
{ [object Object],[object Object] }
Manipulate POSIXcti
{ [object Object],[object Object],[object Object] }
Access to POSIXcti properties
{ [object Object],[object Object],[object Object],[object Object] }
Math and comparison functions
{ [object Object],[object Object],[object Object],[object Object] }
Text representation
{ [object Object],[object Object],[object Object] } POSIXct, POSIXcti, TimeIntervalDataFrame showClass("POSIXcti") classes