Learn R Programming

timetools (version 1.1-2)

POSIXt.units: define valid units for time objects

Description

With no argument, the functions return a factor containing the valid time units. With an argument, it returns the units asked for.

Usage

POSIXt.units(x = NULL, ...)

Arguments

x
a character string representing the needed units
...
arguments to or from other methods