Description Usage Arguments Author(s) Examples
construct a time in timezone UTC and set tzone attribute to UTC for correct printing
1 |
x |
An object to be converted. |
Thomas Wutzler, Oscar Perez Priego
1 2 3 4 5 | #tmp1 <- as.POSIXct(c("2014-06-23 00:00:01","2014-06-23 05:00:01"))
#plot(tmp1)
tmp <- as.POSIXctUTC(c("2014-06-23 00:00:01","2014-06-23 05:00:01"))
print(tmp)
plot(tmp) # note that it is not converted to local time e.g. CET, but ggplot respects timezone attribute
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.