check_tz | R Documentation |
This function checks the time zone of an inputted object. If the object is of class Date or POSIXct and a time zone is absent, then "UTC" is forced. Otherwise, the object is returned unchanged.
check_tz(arg = NULL, x)
arg |
(optional) A character string which defines the argument of the parent function. |
x |
An object. |
An object as inputted in which, if the object is of class Date or POSIXct and a time zone is absent, time zone "UTC" is forced.
Edward Lavender
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.