r - How do I make timeSeries plot display time in local timezone? -


i'm using timeseries package manipulating , plotting time series. can create timeseries object using gmt times, then, setting fincenter property "newyork" make print times in new york local time zone. plot() function takes fincenter argument, , 1 think setting local times plotted on x axis. doesn't work me, still displays in gmt, no matter do.

a <- sys.timedate() + 1:5 # newyork # [1] [2015-09-29 21:54:50] [2015-09-29 21:54:51] [2015-09-29 21:54:52] # [4] [2015-09-29 21:54:53] [2015-09-29 21:54:54] @ <- timeseries(1:5, a) @ # newyork #                     ts.1 # 2015-09-29 21:54:50    1 # 2015-09-29 21:54:51    2 # 2015-09-29 21:54:52    3 # 2015-09-29 21:54:53    4 # 2015-09-29 21:54:54    5 plot(at) plot(at, fincenter = "newyork") 

both plot functions render same x axis labels, in gmt. knows how fix it?


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -