Learn R Programming

timetools (version 1.5.2)

period: Test or extract different properties of Time objects

Description

For objects based on time intervals. Return POSIXctp of the object if it is homogeneous and continuous.

Usage

period(x, ...)

## S3 method for class 'TimeIntervalDataFrame': period(x, ...)

Arguments

x
object from which get the period
...
arguments to or from other methods

Value

  • a time period object if possible. An error occur if not.

See Also

TimeIntervalDataFrame, POSIXctp