"POSIXst"
A POSIXst is a kind of time object composed of 2 units and
a positionnal integer.
The main unit can be accessed via the st
is the value
th unit(st)
of of(st)
.
The range of valid values for each kind of POSIXst is defined accordingly
to the DateTimeClasses
definitions. For instance
valid values for seconds of hour are 0 to 61, valid values for
day of week are 0 to 6, etc.
To define POSIXst objects see the POSIXst
constructor.
It allows to define a POSIXst object from scratch or to use a
POSIXct
object.
Moreover, a POSIXst object has a TimeInstantDataFrame
, TimeIntervalDataFrame
and
SubtimeDataFrame
.
To list all methods available for POSIXst, type in the R console :
methods(class='POSIXst') # for S3 methods}
showMethods(class='POSIXst') # for S4 methods}
To get back to this documentation from the R console :
class?POSIXst
new("POSIXst", ...)
...argument must be replaced
by named arguments coresponding to slots of a POSIXst (see below).
See alsonew
.POSIXst (x, unit, of, ...)
Create a POSIXst from various type
of object. SeePOSIXst
.POSIXct
, POSIXcti
, POSIXctp
,
TimeIntervalDataFrame
,