definition | R Documentation |
These functions return the properties of an instance of the
CFTime class. The properties are all read-only, but offsets can be added
using the +
operator.
definition(t)
calendar(t)
unit(t)
origin(t)
timezone(t)
offsets(t)
resolution(t)
t |
An instance of |
calendar()
and unit()
return a character string.
origin()
returns a data frame of timestamp elements with a single row
of data. timezone()
returns the calendar time zone as a character
string. offsets()
returns a vector of offsets or NULL
if no offsets
have been set.
definition()
: The definition string of the CFTime
instance.
calendar()
: The calendar of the CFTime
instance.
unit()
: The unit of the CFTime
instance.
origin()
: The origin of the CFTime
instance in timestamp elements.
timezone()
: The time zone of the calendar of the CFTime
instance as a character string.
offsets()
: The offsets of the CFTime
instance as a numeric vector.
resolution()
: The average separation between the offsets in the CFTime
instance.
t <- CFtime("days since 1850-01-01", "julian", 0:364)
definition(t)
calendar(t)
unit(t)
timezone(t)
origin(t)
offsets(t)
resolution(t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.