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

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

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -