Learn R Programming

timetools (version 1.15.3)

when: Retrieve the 'timestamp' of a Time*DataFrame

Description

For Time objects.

Usage

when(x, ...)

Value

If TimeInstantDataFrame, return the instants of the object ;

if TimeIntervalDataFrame, return the intervals of the object.

if SubtimeDataFrame, return the POSIXst of the object.

Arguments

x

object from which get the timestamp

...

arguments to or from other methods

See Also

TimeIntervalDataFrame, POSIXcti, TimeInstantDataFrame, POSIXct, SubtimeDataFrame, POSIXst